lezargus.data._make.make_photometric_filters module#
Make functions to create the PhotometricFilter objects for filters.
This module is just the part of the data making procedure to make the photometric filter objects. We only support a limited selection of filters as implemented by the data files. Open a new issue to add more filters if desired.
- lezargus.data._make.make_photometric_filters.load_photometric_filter_mrt_file(basename: str) hint.Table [source]#
Load a AAS MRT photometric filter file to a standard table format.
- Parameters:
basename (str) – The MRT photometric filter basename to load, paths are handled automatically.
- Returns:
photometric_filter_table – The Astropy table of the photometric filter object.
- Return type:
Table
- lezargus.data._make.make_photometric_filters.make_ab_photometric_filter(basename: str) hint.PhotometricABFilter [source]#
Load a photometric filter file to make a PhotometricABFilter class.
This also technically handles ST filters, but all of the ST filters should be reformulated in an AB form.
- Parameters:
basename (str) – The basename of the internal data file of the AB-based photometric filter. The paths are handled automatically.
- Returns:
ab_filter – The AB-based photometric filter class.
- Return type:
- lezargus.data._make.make_photometric_filters.make_vega_photometric_filter(basename: str) hint.PhotometricVegaFilter [source]#
Load a photometric filter file to make a PhotometricVegaFilter class.
- Parameters:
basename (str) – The basename of the internal data file of the Vega-based photometric filter. The paths are handled automatically.
- Returns:
vega_filter – The Vega-based photometric filter class.
- Return type: