MADCUBA IO#
The madcubapy.io package allows the user to read MADCUBA products like FITS
and .spec files alongside their history files.
MadcubaMap#
The MadcubaMap class stores the data and metadata of FITS files.
This class resembles a CCDData class with the addition of a
hist attribute containing the history information of the FITS file.
The preferred method of creating a MadcubaMap instance is to
read a FITS file through the read() method,
although it can also be created by passing any of the following parameters from
an astropy CCDData object: data, header, wcs, and
unit.
Look into the MadcubaMap page for a detailed overview of the class, its attributes and its methods.
SpectraContainer#
The purpose of the SpectraContainer class is storing spectra
data exported by MADCUBA in .spec format. These .spec archives contain
astronomical spectra inside a FITS bintable, alongside the history file.
The SpectraContainer class stores this data in the bintable,
and hist attributes respectively.
The preferred method of creating a SpectraContainer instance is
to read a .spec file through the read()
method, although it can also be created by passing a bintable in an astropy
Table format.
Look into the SpectraContainer page for a detailed overview of the class, and its attributes and methods.
SLIM#
The madcubapy.io.slim module privides functions to work with products from
the Spectral Line Identification and Modelling (SLIM) tool of MADCUBA in
madcubapy.
Look into the SLIM page for a detailed overview of the SLIM Molecular Paramteres Tables functions.