File tree Expand file tree Collapse file tree 7 files changed +11
-1092
lines changed
Expand file tree Collapse file tree 7 files changed +11
-1092
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,6 @@ Installation via `pip`:
1515 pip install siepic-forge
1616
1717
18- ### PhotonForge Web UI
19-
20- 1 . [ Download from PyPI] ( https://pypi.org/project/siepic-forge/#files ) the
21- latest wheel file: ` siepic_forge-*-py3-none-any.whl ` .
22-
23- 2 . In the PhotonForge web interface, upload that file to load the EBeam PDK.
24-
25-
2618## Usage
2719
2820The simplest way to use the this PDK in PhotonForge is to set its technology as
Original file line number Diff line number Diff line change 11[project ]
22name = " siepic-forge"
3- version = " 1.1.1 "
3+ version = " 1.1.2 "
44authors = [{name = " Flexcompute Inc." , email = " info@flexcompute.com" }]
55description = " SiEPIC PDK implementation for PhotonForge"
66readme = " README.md"
7- dependencies = [" photonforge > 1.1.7 " ] # Need typing submodule
7+ dependencies = [" photonforge >= 1.2.1 " ] # Need typing submodule
88
99[project .optional-dependencies ]
1010test = [" pytest >= 7.2" ]
Original file line number Diff line number Diff line change 11from .technology import ebeam
22from .component import component , component_names
33
4- __version__ = "1.1.1 "
4+ __version__ = "1.1.2 "
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def ebeam(
3333 "electrical" : td .Medium (permittivity = 7.5 , name = "Si3N4" ),
3434 },
3535 router_metal : dict [str , pft .Medium ] = {
36- "optical" : td .material_library ["Au" ]["JohnsonChristy1972 " ],
36+ "optical" : td .material_library ["Au" ]["Olmon2012evaporated " ],
3737 "electrical" : td .LossyMetalMedium (
3838 conductivity = 17 ,
3939 frequency_range = [0.1e9 , 200e9 ],
Original file line number Diff line number Diff line change 44
55def test_export (tmp_path ):
66 tech = siepic .ebeam ()
7- tech_file = tmp_path / "tech.json "
8- tech . write_json (tech_file )
9- tech_loaded = pf .Technology . load_json (tech_file )
7+ tech_file = tmp_path / "tech.phf "
8+ pf . write_phf (tech_file , tech )
9+ tech_loaded = pf .load_phf (tech_file )[ "technologies" ][ 0 ]
1010 assert tech_loaded .name == tech .name
1111 assert tech_loaded .version == tech .version
1212 assert tech_loaded .layers == tech .layers
1313 assert tech_loaded .ports == tech .ports
14- # assert tech_loaded.extrusion_specs == tech.extrusion_specs
15- # assert tech_loaded.background_medium == tech.background_medium
16- # assert tech_loaded == tech
14+ assert tech_loaded .extrusion_specs == tech .extrusion_specs
15+ assert tech_loaded .background_medium == tech .background_medium
16+ assert tech_loaded == tech
17+
1718
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments