Binary Table
ciardi wrote on Feb 06, 2008
Hi there,
Just trying to find the best way to turn a 12 column binary table into a plottable iraf form.
The data is an extracted single spectral order from an echelle spectrograph. The columns are various parameters such as wave, flux, col, row, s/n etc.
I can read the table into iraf with strfits and that produces a .hhh and .tab file.
What do I do with the .hhh and .tab files?
Thanks a bunch for the help
Just trying to find the best way to turn a 12 column binary table into a plottable iraf form.
The data is an extracted single spectral order from an echelle spectrograph. The columns are various parameters such as wave, flux, col, row, s/n etc.
I can read the table into iraf with strfits and that produces a .hhh and .tab file.
What do I do with the .hhh and .tab files?
Thanks a bunch for the help
Mike Fitzpatrick wrote on Feb 06, 2008
Depends what you mean by "plottable iraf form" : Once you have the table you can use tasks like TPRINT/TDUMP to write out e.g. wavelength and flux columns as text. A simple graphics tasks like GRAPH or IGI could then plot these directly. If what you want is to treat this as a real spectrum, use the RSPECTEXT task to read the columns back in as a spectrum image and you can do things like SPLOT.
Hope this helps,
-Mike
Hope this helps,
-Mike
ciardi wrote on Feb 06, 2008
Thanks Mike,
I will try that and I will post my results for others to see.
Cheers,
David
I will try that and I will post my results for others to see.
Cheers,
David
fitz
Depends what you mean by "plottable iraf form" : Once you have the table you can use tasks like TPRINT/TDUMP to write out e.g. wavelength and flux columns as text. A simple graphics tasks like GRAPH or IGI could then plot these directly. If what you want is to treat this as a real spectrum, use the RSPECTEXT task to read the columns back in as a spectrum image and you can do things like SPLOT.
Hope this helps,
-Mike
Last post on Feb 06, 2008