API Reference#

madcubapy.io Package#

The madcubapy.io package provides classes to read MADCUBA products in python.

Functions#

format_molecular_parameters_columns(table)

Add new columns to a Molecular Parameters Table with LaTeX formatted strings for the physical parameters column density, excitation temperature, width, and velocity; using significant values and previous related values from other components or molecules.

import_molecular_parameters_table([filein, ...])

Import a SLIM Molecular parameters table exported from MADCUBA as a Table.

output_latex_molecular_parameters_table(...)

Output a Molecular Parameters Table as a filetext with code for a LaTeX table.

parse_row_spectral_axis(table_row)

Generate an array for the spectral axis of a spectrum inside a SpectraContainer.

Classes#

MadcubaFits([hist])

A basic class describing a MADCUBA FITS object with its history file.

MadcubaMap([data, header, wcs, unit, ...])

A container for MADCUBA FITS maps, using the MadcubaFits interface.

SpectraContainer([bintable, hist, filename])

A container for MADCUBA spectra, using the MadcubaFits interface.