Skip to main content

PreFab

PreFab logo

PreFab is a virtual nanofabrication environment that leverages deep learning and computer vision to predict and correct for structural variations in integrated photonic devices during nanofabrication.

Prediction

PreFab predicts process-induced structural variations, including corner rounding, loss of small lines and islands, filling of narrow holes and channels, sidewall angle deviations, and stochastic effects. This allows designers to rapidly prototype and evaluate expected performance pre-fabrication.

Example of PreFab prediction

Correction

PreFab corrects device designs to ensure that the fabricated outcome closely matches the intended specifications. This minimizes structural variations and reduces performance discrepancies between simulations and actual experiments.

Example of PreFab correction

Models

Each photonic nanofabrication process requires unique models, which are regularly updated with the latest data. The current models include (see the full list in docs/models.md):

Foundry Process Latest Version Latest Dataset Model Name
ANT NanoSOI ANF1 (May 6 2024) d10 (Jun 8 2024) ANT_NanoSOI_ANF1_d10
ANT SiN ANF1 (May 6 2024) d1 (Jan 31 2024) ANT_SiN_ANF1_d1
Generic DUV-SOI ANF1 (May 6 2024) d0 (Jul 30 2024) generic_DUV_SOI_ANF1_d0

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

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 an 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 hosted on a serverless cloud platform. Please keep in mind:

  • 🐢 Default CPU inference may be slower.
  • 🥶 The first prediction using optional GPU inference may take longer due to cold start server loading. Subsequent predictions will be faster.
  • 😊 Please be considerate of usage. Start with small tasks 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.1.3

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

Source distribution (sdist)

Source distribution for prefab 1.1.3
File Size Uploaded Provenance Actions
prefab-1.1.3.tar.gz 7.3 MB Without provenance Details for prefab-1.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 7.3 MB

Release files / prefab-1.1.3.tar.gz

Download URL prefab-1.1.3.tar.gz
Size 7.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f7ed8f5ba1773a3dcda2cc87b1893242e0cbdc70319dccd924668ea5e68cbd3c
BLAKE2b-256 checksum
How to use checksums
5b0068d9a85f3ac68c4ea355eb5544a3aa09697b4d0fd24739230cf62975ccdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

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

Download URL prefab-1.1.3-py3-none-any.whl
Size 47.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f878b07407c81facef734a4113f0177614c5967671a5ca9d0fc54e5e5c0c83bf
BLAKE2b-256 checksum
How to use checksums
41d7ddd4f7c533dedf7f561042c3c31d0f6669cad69ff1e89ccff8068fe30ab9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Security for prefab 1.1.3

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.1.3 This release

2 release files 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