pado.optical_element.phase2height¶
- phase2height(phase_u, wvl, RI, minh=0)[source]¶
Convert phase to the least equivalent material height at or above
minh. The ambient refractive index is 1. Whole phase periods are added as needed; the phase-to-height mapping is not unique without this minimum-height rule.- Parameters:
phase_u – Phase change tensor, in radians.
wvl – Wavelength in metres.
RI – Refractive index of the material.
RI == 1raises ValueError.minh – Minimum height in metres; defaults to zero.
- Return type: