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

Installation

Install PreFab using pip:

pip install prefab

For contributors who wish to make changes to the source code:

# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone and set up the project
git clone https://github.com/PreFab-Photonics/PreFab.git
cd PreFab
uv sync

Getting Started

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

To link your account, run the following command to authenticate your token:

prefab setup

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

License

LGPL-2.1 © PreFab Photonics

Metadata

Release files for prefab 1.4.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 1.4.1
File Size Uploaded Provenance Actions
prefab-1.4.1.tar.gz 44.5 kB Without provenance Details for prefab-1.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 94.5 kB

Release files / prefab-1.4.1.tar.gz

Download URL prefab-1.4.1.tar.gz
Size 44.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9d473e87bd5d32b0f49e17caefade9866cd2aa8389c720c46f672b7f5a3805a0
BLAKE2b-256 checksum
How to use checksums
978705e4be874cecd041f8bee18cdf378f590f845fed5109f4d284045b1a4742
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

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

Download URL prefab-1.4.1-py3-none-any.whl
Size 50.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39eb662ac0cef8607ce246c3a4343e0fb09dd1a589bd5167527296409e412bcb
BLAKE2b-256 checksum
How to use checksums
5d9744e3a848f2019628a31a284a44980522a7dd3fc24f8b027c4220a73ffe7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for prefab 1.4.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

1.4.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