Photonic-Architecture-Laboratories / si-photonics-toolkit

Photonic Integrated Design Package
MIT License
11 stars 0 forks source link

remove hardcoded bounds and constants everywhere #14

Closed esmagden closed 2 years ago

esmagden commented 2 years ago

We have lots of manual checks for wavelength between 1.2 and 1.7um, same for widths in multiple places.

It would be best to read these bounds from the data files instead, at the beginning. Then we just access the this data directly, not hardcoded variables.