Output

continuous_spectra_data.py

Module to represent continuous spectra data.

class ContinuousSpectraData(data)[source]

Bases: OutputData

output_data.py

Module to represent generic output data.

class OutputData(data, positions)[source]

Bases: object

save(save_file, output_path, output_file, output_format, extension)[source]

Save the output data.

Parameters
  • save_file (bool) – Whether to save the file or not.

  • output_path (str) – Path where to save the file.

  • output_file (str) – Name chosen for the output file.

  • output_format (str) – Format of the output file.

  • extension (str) – Format of the original input file.

photometry_dataframe.py

Module to represent a photometry dataframe.

class PhotometryData(data)[source]

Bases: OutputData

sampled_spectra_dataframe.py

Module to represent a dataframe of sampled spectra.

class SampledSpectraData(data, positions)[source]

Bases: OutputData

pandas_from_records(lst, to_dict_func)[source]