prysm.refractive#
Code for working with refractive index data.
- prysm.refractive.cauchy(wvl, A, *args)#
Cauchy’s equation for the (real) index of refraction of transparent materials.
- Parameters:
wvl (number) – wavelength of light, microns
A (number) – the first term in Cauchy’s equation
args (number) – B, C, … terms in Cauchy’s equation
- Returns:
array of refractive indices of the same shape as wvl
- Return type:
ndarray
- prysm.refractive.sellmeier(wvl, A, B)#
Sellmeier glass equation.
- Parameters:
wvl (ndarray) – wavelengths, microns
A (Iterable) – sequence of “A” coefficients
B (Iterable) – sequence of “B” coefficients
- Returns:
refractive index
- Return type:
ndarray
- prysm.refractive.internal_transmission(t, k, wvl)#
Internal transmission of a glass slab.
- Parameters:
t (ndarray) – thickness of the plate, millimeters
k (ndarray) – the complex part of the refractive index, k, in the expression n + ik
wvl (ndarray) – wavelength of light, microns
- Return type:
complex transmission T