lezargus.data._make.make_optic_efficiencies module

lezargus.data._make.make_optic_efficiencies module#

Make functions to create the efficiency functions for different optics.

This module is created to making efficiency functions (or efficiency spectra) for a wide array of things. We package these as typical LezargusSpectrum objects as they are a convenient way to store them.

lezargus.data._make.make_optic_efficiencies.make_optic_efficiency(basename: str) hint.LezargusSpectrum[source]#

Load the a single optic efficiency spectrum file.

Parameters:

basename (str) – The basename of the internal data file of the optic efficiency file. The paths are handled automatically.

Returns:

efficiency_spectrum – The optic efficiency function spectrum.

Return type:

LezargusSpectrum