PreFab
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.
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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| prefab-1.6.0.tar.gz | 45.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|