hhi 0.2.4__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.
- hhi/__init__.py +49 -0
- hhi/cells.py +7941 -0
- hhi/cells2.py +223 -0
- hhi/config.py +30 -0
- hhi/klayout/layers.lyp +207 -0
- hhi/klayout/tech.lyt +161 -0
- hhi/layers.yaml +78 -0
- hhi/models.py +30 -0
- hhi/samples/__init__.py +0 -0
- hhi/samples/circuit_simulations_mzi.py +24 -0
- hhi/samples/components.py +136 -0
- hhi/samples/demo.py +234 -0
- hhi/samples/demo2.py +29 -0
- hhi/samples/demo3.py +37 -0
- hhi/samples/demo4_lumfdtd.ipynb +102 -0
- hhi/samples/demo4a_tidy3dfdtd.ipynb +209 -0
- hhi/samples/demo5_fde.ipynb +107 -0
- hhi/samples/demo6_chip.py +251 -0
- hhi/tech.py +476 -0
- hhi-0.2.4.dist-info/METADATA +59 -0
- hhi-0.2.4.dist-info/RECORD +23 -0
- hhi-0.2.4.dist-info/WHEEL +4 -0
- hhi-0.2.4.dist-info/licenses/LICENSE +21 -0
hhi/__init__.py
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"""hhi - HHI photonics PDK"""
|
|
2
|
+
|
|
3
|
+
import gdsfactory as gf
|
|
4
|
+
from gdsfactory.get_factories import get_cells
|
|
5
|
+
|
|
6
|
+
from hhi import cells, cells2, config
|
|
7
|
+
from hhi.models import models
|
|
8
|
+
from hhi.tech import (
|
|
9
|
+
LAYER,
|
|
10
|
+
LAYER_STACK,
|
|
11
|
+
LAYER_VIEWS,
|
|
12
|
+
MATERIALS_INDEX,
|
|
13
|
+
constants,
|
|
14
|
+
cross_sections,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
cells_dict = get_cells([cells, cells2])
|
|
18
|
+
|
|
19
|
+
layer_transitions = {
|
|
20
|
+
(LAYER.M1, LAYER.M2): "taper_dc",
|
|
21
|
+
(LAYER.M2, LAYER.M1): "taper_dc",
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
PDK = gf.Pdk(
|
|
26
|
+
name="HHI",
|
|
27
|
+
cells=cells_dict,
|
|
28
|
+
cross_sections=cross_sections,
|
|
29
|
+
layers=LAYER,
|
|
30
|
+
layer_stack=LAYER_STACK,
|
|
31
|
+
layer_views=LAYER_VIEWS,
|
|
32
|
+
layer_transitions=layer_transitions,
|
|
33
|
+
materials_index=MATERIALS_INDEX,
|
|
34
|
+
constants=constants,
|
|
35
|
+
models=models,
|
|
36
|
+
)
|
|
37
|
+
PDK.activate()
|
|
38
|
+
|
|
39
|
+
__all__ = (
|
|
40
|
+
"cells",
|
|
41
|
+
"config",
|
|
42
|
+
"PDK",
|
|
43
|
+
"LAYER",
|
|
44
|
+
"LAYER_VIEWS",
|
|
45
|
+
"LAYER_STACK",
|
|
46
|
+
"cross_sections",
|
|
47
|
+
"constants",
|
|
48
|
+
)
|
|
49
|
+
__version__ = "0.2.4"
|