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 Status
ANT NanoSOI v6 (Nov 24 2023) d8 (Feb 6 2023) ANT_NanoSOI v6-d8 Beta
ANT SiN (Upper Edge) v5 (Jun 3 2023) d0 (Jun 1 2023) ANT_SiN v5-d0-upper Alpha
ANT SiN (Lower Edge) v5 (Jun 3 2023) d0 (Jun 1 2023) ANT_SiN v5-d0-lower Alpha
SiEPICfab SOI v5 (Jun 3 2023) d0 (Jun 14 2023) SiEPICfab_SOI v5-d0 Alpha

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

Installation

Local

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 .

Online

Use PreFab online through GitHub Codespaces:

Open in GitHub Codespaces

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 /examples or our Guides 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 0.5.1

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 0.5.1
File Size Uploaded Provenance Actions
prefab-0.5.1.tar.gz 1.1 MB Without provenance Details for prefab-0.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / prefab-0.5.1.tar.gz

Download URL prefab-0.5.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
46266206cb5f39c5d9f1fbc7150e901a6563c6dab88e5815461b7a3c89d67527
BLAKE2b-256 checksum
How to use checksums
b63940a84728cca595ed91d4bbb324f3566993c84079efb772818ae8f081a22d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

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

Download URL prefab-0.5.1-py3-none-any.whl
Size 30.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3bd9b9813376b7f2face81bac9d36d6604f6461ebaa1c26a7bb35f87d56b94a
BLAKE2b-256 checksum
How to use checksums
a90c6a7293c39d2987e64d3a62e976eaa0a7443dc8a6fbf35adf33ee14ea5814
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Security for prefab 0.5.1

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

0.5.1 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