This is a post to demonstrate how I got a spectrum from NOEMA (formerly PdBI) interferometry to export to FITS.
I have my data located in the following directory:
directory:
/Users/tsrice/Documents/Data/NOEMA/W15AI/maps
file:
l1455irs1_WIDEX.lmv-clean
$ mapping
MAPPING> fits widex_clean_cube.fits from l1455irs1_WIDEX.lmv-clean
I then load it into Python (in a pylab/IPython environment) like this, with astropy:
In [19]: widex_clean_cube, widex_clean_header = astropy.io.fits.getdata("widex_clean_cube.fits", header=True)
No comments:
Post a Comment