SpeX: 0.7-5.3 Micron Medium-Resolution Spectrograph and Imager NASA InfraRed Telescope Facility(IRTF), Institute for Astronomy, University of Hawaii |
The data consist of the following values:
Wavelength (microns)
Flux Density (W m-2 um-1)
Uncertainty (W m-2 um-1)
The FITS files packages the data into Binary Tables. The following IDL and python code examples converts the FITS binary files to text:
IDL:
IDL code: fits2txt.pro
IDL example: idl_example.txt
Python:
Command: fits2txt.py HD013783.fits
Output: HD013783.txt (output from the above command)