Skip to main content

PreFab

PreFab logo

PreFab leverages deep learning to model fabrication-induced structural variations in integrated photonic devices. Through this virtual nanofabrication environment, we uncover valuable insights into nanofabrication processes and enhance device design accuracy.

Prediction

PreFab accurately predicts process-induced structural alterations such as corner rounding, washing away of small lines and islands, and filling of narrow holes in planar photonic devices. This enables designers to quickly prototype expected performance and rectify designs prior to nanofabrication.

Example of PreFab prediction

Correction

PreFab automates corrections to device designs, ensuring the fabricated outcome aligns with the original design. This results in reduced structural variation and performance disparity from simulation to experiment.

Example of PreFab correction

Models

PreFab accommodates unique predictor and corrector models for each photonic foundry, regularly updated based on recent fabrication data. Current models include (see full list on docs/models.md):

Foundry Process Latest Version Latest Dataset Model Name Model Tag
ANT NanoSOI ANF1 (May 6 2023) d9 (Feb 6 2024) ANT_NanoSOI ANF1-d9
ANT SiN ANF1 (May 6 2023) d1 (Jan 31 2024) ANT_SiN ANF1-d1

New models and foundries are to be regularly added. Usage may change. For additional foundry and process models, feel free to contact us.

Installation

Install PreFab via pip:

pip install prefab

Or clone the repository and install in development mode:

git clone https://github.com/PreFab-Photonics/PreFab.git
cd PreFab
pip install -e .

Getting Started

Account setup

Before you can make PreFab requests, you will need to create an account.

To link your account, you will need a token. You can do this by running the following command in your terminal. This will open a browser window where you can log in and authenticate your token.

python3 -m prefab setup

Guides

Visit /docs/examples or our docs to get started with your first predictions.

Performance and Usage

PreFab models are served via a serverless cloud platform. Please note:

  • 🐢 CPU inference may result in slower performance. Future updates will introduce GPU inference.
  • 🥶 The first prediction may take longer due to cold start server loading. Subsequent predictions will be faster.
  • 😊 Be considerate of usage. Start small and limit usage during the initial stages. Thank you!

License

This project is licensed under the LGPL-2.1 license. © 2024 PreFab Photonics.

Metadata

Release files for prefab 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for prefab 1.0.0
File Interpreter ABI Platform Actions
prefab-1.0.0-py3-none-any.whl Python 3 none any Details for prefab-1.0.0-py3-none-any.whl

Release files / prefab-1.0.0-py3-none-any.whl

Download URL prefab-1.0.0-py3-none-any.whl
Size 39.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2742f5d49df83792675f715a960baff59ab5332c621023f1b6c838126631e13f
BLAKE2b-256 checksum
How to use checksums
4bdade8c8146fbf97fc9a2572d9048cb7e748cf9610396c1e06bb4c9b21ce1c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Security for prefab 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page