Read a FITS file with MadcubaMap#

Example showing how to read a fits map file as a MadcubaMap.

Note

Due to how MADCUBA saves some fits header cards, several astropy warnings can pop up when reading fits files. Usually these warnings are unexpected card names using non-standard conventions.

from madcubapy.io import MadcubaMap

# Read fits file
madcuba_map = MadcubaMap.read("../data/IRAS16293_SO_2-1_moment0_madcuba.fits")

Total running time of the script: (0 minutes 0.023 seconds)

Gallery generated by Sphinx-Gallery