lezargus.data._make.make_dispersion_patterns module#
Make functions to create the spectral dispersion classes.
This module is created to make interpolative spectral dispersion tables from provided tables created from spot diagrams.
- lezargus.data._make.make_dispersion_patterns.make_spectre_dispersion_pattern(basename: str) hint.SpectreDispersionPattern [source]#
Create a SPECTRE dispersion pattern from the file.
- Parameters:
basename (str) – The base filename of the dispersion pattern file for SPECTRE.
- Returns:
spectre_dispersion – The dispersion pattern class for the SPECTRE instrument, defined based on the inputted file data.
- Return type: