SpeX: 0.7-5.3 Micron Medium-Resolution Spectrograph and Imager
NASA InfraRed Telescope Facility(IRTF), Institute for Astronomy, University of Hawaii

IRTF Extended Spectral Library


Data Format:

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 code: fits2txt.pro
  IDL example: idl_example.txt

  Command: fits2txt.py HD013783.fits
  Output: HD013783.txt (output from the above command)