get_refractive_index

hcipy.optics.get_refractive_index(glass_name)

Get the refractive index for one of the glasses in the catalogue.

Parameters
glass_namestr

The name of the glass.

Returns
callable

The refractive index as function of wavelength.