brandondube / prysm

physical optics: integrated modeling, phase retrieval, segmented systems, polynomials and fitting, sequential raytracing...
https://prysm.readthedocs.io/en/stable/
MIT License
268 stars 46 forks source link

revised thinfilm code is incompatible with infinite thicknesses #82

Closed brandondube closed 1 year ago

brandondube commented 2 years ago

In v0.20, the thin-film code is perfectly happy with infinitely thick layers, as for a substrate. However, in v0.21, the code breaks and produces incorrect outputs when thicknesses of infinity are present. This regression should be corrected.