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

numpy.ndarray

prysm.refractive.sellmeier(wvl, A, B)

Sellmeier glass equation.

Parameters
  • wvl (numpy.ndarray) – wavelengths, microns

  • A (Iterable) – sequence of “A” coefficients

  • B (Iterable) – sequence of “B” coefficients

Returns

refractive index

Return type

numpy.ndarray