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

Release files for prefab 1.6.0

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.6.0
File Size Uploaded
prefab-1.6.0.tar.gz 45.2 kB Details

Built distribution (wheel)

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

Total release size: 95.9 kB

Release files / prefab-1.6.0.tar.gz

Download URL prefab-1.6.0.tar.gz
Size 45.2 kB
Tags Source
SHA-256 checksum
How to use checksums
769c7bb3c3f7172792dad653fb538583aa2d8e45833fd2c7ad3719773781888d
BLAKE2b-256 checksum
How to use checksums
576d650c6ffdfb0e81430593f2c50339754d6fe827a4d885531d5281ee095c39
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.6.0-py3-none-any.whl

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

Release history Release notifications | RSS feed

This release

1.6.0 This release

2 release files

1.5.0

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

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