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.
Try Rosette: Want a more visual experience? Try Rosette - our new layout tool with PreFab models built in, designed for rapid chip design.
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.
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 |
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.8
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.1.8.tar.gz | 11.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prefab-1.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 MB
Release files / prefab-1.1.8.tar.gz
| Download URL | prefab-1.1.8.tar.gz |
|---|---|
| Size | 11.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
326eda96847093a44b9abc730ef6404bbebfe91d3562d5184699e416bd133131
|
|
BLAKE2b-256 checksum How to use checksums |
277f044ee4f22ca4b9c47305cb1bff9723a166874354a9a60621bc81c79dcf4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|
Release files / prefab-1.1.8-py3-none-any.whl
| Download URL | prefab-1.1.8-py3-none-any.whl |
|---|---|
| Size | 50.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b98538cdcae11e712dd5198451b39491ece9647b08fab5e87b31d9deb6771831
|
|
BLAKE2b-256 checksum How to use checksums |
5ed7a778964505e68847c572cac88bddb87eb87251ccad90a7d6ed7c3776c8d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|