MadcubaFits#

class madcubapy.io.MadcubaFits(hist=None)[source]#

Bases: object

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

The MadcubaFits class contains the only object shared by MADCUBA maps, cubes, and spectra: a table describing the history file exported by MADCUBA.

Parameters:
histTable

Table containing the history information of the FITS file, which is stored in a separate _hist.csv file.

Attributes Summary

hist

Table : Table containing the history information.

Methods Summary

add_hist(filename)

Load the history table from a csv file.

Attributes Documentation

hist#

Table : Table containing the history information.

Methods Documentation

add_hist(filename)[source]#

Load the history table from a csv file.

Parameters:
filenamestr or Path

Path of the history csv file.