TOMULTISPEC work around for COS Data
The IRAF task
TOMULTISPEC does not work on COS x1d files. While this problem is being resolved, please use the following work around:
In the pyraf command line type the following three commands:
tprint input_x1d.fits showrow- showhdr- row=1 column="wavelength,flux" > tprint_output.txt
rspec tprint_output.txt rspec_output.fits
TPRINT takes the x1d fits file as an input and outputs a text file.
RSPEC takes the text file output by
TPRINT as an input and outputs a fits file. Set the
RSPEC parameter dtype to nonlinear so that
SPLOT will plot wavelengths instead of pixel numbers.