prefab 1.1.1__py3-none-any.whl → 1.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- prefab/__init__.py +3 -2
- prefab/compare.py +17 -0
- prefab/device.py +40 -177
- prefab/geometry.py +43 -1
- prefab/models.py +1 -1
- prefab/predict.py +260 -0
- prefab/read.py +5 -1
- prefab/shapes.py +208 -201
- {prefab-1.1.1.dist-info → prefab-1.1.3.dist-info}/METADATA +12 -12
- prefab-1.1.3.dist-info/RECORD +13 -0
- prefab-1.1.1.dist-info/RECORD +0 -12
- {prefab-1.1.1.dist-info → prefab-1.1.3.dist-info}/WHEEL +0 -0
- {prefab-1.1.1.dist-info → prefab-1.1.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: prefab
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: Artificial nanofabrication of integrated photonic circuits using deep learning
|
|
5
5
|
Project-URL: Homepage, https://prefabphotonics.com
|
|
6
6
|
Project-URL: Repository, https://github.com/PreFab-Photonics/PreFab
|
|
@@ -516,7 +516,7 @@ Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 (LGP
|
|
|
516
516
|
Classifier: Operating System :: OS Independent
|
|
517
517
|
Classifier: Programming Language :: Python :: 3
|
|
518
518
|
Requires-Python: >=3.9
|
|
519
|
-
Requires-Dist: gdstk
|
|
519
|
+
Requires-Dist: gdstk>=0.9.55
|
|
520
520
|
Requires-Dist: matplotlib
|
|
521
521
|
Requires-Dist: numpy
|
|
522
522
|
Requires-Dist: opencv-python-headless
|
|
@@ -533,23 +533,23 @@ Description-Content-Type: text/markdown
|
|
|
533
533
|
|
|
534
534
|

|
|
535
535
|
|
|
536
|
-
PreFab leverages **deep learning** to
|
|
536
|
+
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.
|
|
537
537
|
|
|
538
538
|
## Prediction
|
|
539
539
|
|
|
540
|
-
PreFab
|
|
540
|
+
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.
|
|
541
541
|
|
|
542
542
|

|
|
543
543
|
|
|
544
544
|
## Correction
|
|
545
545
|
|
|
546
|
-
PreFab
|
|
546
|
+
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.
|
|
547
547
|
|
|
548
548
|

|
|
549
549
|
|
|
550
550
|
## Models
|
|
551
551
|
|
|
552
|
-
|
|
552
|
+
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`](https://github.com/PreFab-Photonics/PreFab/blob/main/docs/models.md)):
|
|
553
553
|
|
|
554
554
|
| Foundry | Process | Latest Version | Latest Dataset | Model Name |
|
|
555
555
|
| ------- | ------- | ----------------- | ---------------- | ----------- |
|
|
@@ -557,7 +557,7 @@ PreFab accommodates unique _predictor_ and _corrector_ models for each photonic
|
|
|
557
557
|
| ANT | SiN | ANF1 (May 6 2024) | d1 (Jan 31 2024) | ANT_SiN_ANF1_d1 |
|
|
558
558
|
| Generic | DUV-SOI | ANF1 (May 6 2024) | d0 (Jul 30 2024) | generic_DUV_SOI_ANF1_d0 |
|
|
559
559
|
|
|
560
|
-
> _New models
|
|
560
|
+
> _New models are to be regularly added. Usage may change. For additional foundry and process models, feel free to [contact us](mailto:hi@prefabphotonics.com) or raise an issue._
|
|
561
561
|
|
|
562
562
|
## Installation
|
|
563
563
|
|
|
@@ -581,7 +581,7 @@ pip install -e .
|
|
|
581
581
|
|
|
582
582
|
Before you can make PreFab requests, you will need to [create an account](https://www.prefabphotonics.com/login).
|
|
583
583
|
|
|
584
|
-
To link your account, you will need
|
|
584
|
+
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.
|
|
585
585
|
|
|
586
586
|
```sh
|
|
587
587
|
python3 -m prefab setup
|
|
@@ -593,11 +593,11 @@ Visit [`/docs/examples`](https://github.com/PreFab-Photonics/PreFab/tree/main/do
|
|
|
593
593
|
|
|
594
594
|
## Performance and Usage
|
|
595
595
|
|
|
596
|
-
PreFab models are
|
|
596
|
+
PreFab models are hosted on a [serverless cloud platform](https://modal.com/). Please keep in mind:
|
|
597
597
|
|
|
598
|
-
- 🐢 CPU inference may
|
|
599
|
-
- 🥶 The first prediction may take longer due to cold start server loading. Subsequent predictions will be faster.
|
|
600
|
-
- 😊
|
|
598
|
+
- 🐢 Default CPU inference may be slower.
|
|
599
|
+
- 🥶 The first prediction using optional GPU inference may take longer due to cold start server loading. Subsequent predictions will be faster.
|
|
600
|
+
- 😊 Please be considerate of usage. Start with small tasks and limit usage during the initial stages. Thank you!
|
|
601
601
|
|
|
602
602
|
## License
|
|
603
603
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
prefab/__init__.py,sha256=DuARo1QC4MGMw-yzCBLEoRlOU3MsKZTbWDCAqUpQjWM,425
|
|
2
|
+
prefab/__main__.py,sha256=aAgt1WXa44k1nJqsiSD3uAfNeGpwtjWqMUYCHN5_Qrw,2759
|
|
3
|
+
prefab/compare.py,sha256=2MKUT7N2A639tUGCnJHpfF9MmS-v3oARDkTqHbWJ9OM,3239
|
|
4
|
+
prefab/device.py,sha256=l0etqB0559xa9Frb0IKl5N3kU56vWHlwHc-qehINTlw,52292
|
|
5
|
+
prefab/geometry.py,sha256=0sa6ietUWZGkxOnUPUzD3q2QpFuOpWkSANoopGpPd6s,11035
|
|
6
|
+
prefab/models.py,sha256=JpBqNFIqbo1ymKEl0NWWF4ZkhvK23rEVVBEFl05TXCI,3671
|
|
7
|
+
prefab/predict.py,sha256=AuCh_vOMP0dD68u75WQaOTog6TMi1FG3nLQxv6UgIkA,8579
|
|
8
|
+
prefab/read.py,sha256=MuF-cugFQ7MWBJ8DOvQuwktIk0fJ8PXBeLye0ydrB8o,14734
|
|
9
|
+
prefab/shapes.py,sha256=2qaqyNzu5WG3wVdk4oQzeNXmhwXRHcPnRZlgRrM4MoA,25576
|
|
10
|
+
prefab-1.1.3.dist-info/METADATA,sha256=TGbeM7u0kktbeGeOwGIFS43dwp8rWvLSwHDYlXEcsfI,34824
|
|
11
|
+
prefab-1.1.3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
12
|
+
prefab-1.1.3.dist-info/licenses/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
|
|
13
|
+
prefab-1.1.3.dist-info/RECORD,,
|
prefab-1.1.1.dist-info/RECORD
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
prefab/__init__.py,sha256=v7MDKK-aRRrdT77IJ5jUcfBc3k6zmGUQnn_fqzNoj_A,401
|
|
2
|
-
prefab/__main__.py,sha256=aAgt1WXa44k1nJqsiSD3uAfNeGpwtjWqMUYCHN5_Qrw,2759
|
|
3
|
-
prefab/compare.py,sha256=AfLJ69DTqvt0mkMqNCTdn2KWKoclt_0htGVXvarEhkY,2709
|
|
4
|
-
prefab/device.py,sha256=Fxgl1Yhc-5KQyrt80NlLsmsr47kz3fShjZdoXw9zZbc,58687
|
|
5
|
-
prefab/geometry.py,sha256=pXsVeu4Ycnq60bG6WqFNoUWnyiNStIaYQgbMIrEyndM,9614
|
|
6
|
-
prefab/models.py,sha256=UMzYZzKouroxlwkXCMKIYozmQCMhNhvt8kQrZmwmZB4,3671
|
|
7
|
-
prefab/read.py,sha256=Rzj9GGrszsKWdY8GxtmpfYcA4nsiuxgwSdEDVvfHN80,14624
|
|
8
|
-
prefab/shapes.py,sha256=Hc6dc2Y5Wmb2mZAxhdjBNEJF7C7tF2o460HNvcqcQdo,24856
|
|
9
|
-
prefab-1.1.1.dist-info/METADATA,sha256=ZHKTRE8c39t2itPHkTWJ8wZUJ4Wk0BQcDgmkjLIYRGQ,34817
|
|
10
|
-
prefab-1.1.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
11
|
-
prefab-1.1.1.dist-info/licenses/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
|
|
12
|
-
prefab-1.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|