Welcome to iraf.net Sunday, May 12 2024 @ 06:26 PM GMT
ciardi |
02/06/2008 03:23AM (Read 2111 times)
|
|
|
Status: offline
Registered: 02/05/2008
Posts: 2
|
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
|
|
|
|
fitz |
02/06/2008 03:23AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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
|
|
|
|
ciardi |
02/06/2008 03:23AM
|
|
|
Status: offline
Registered: 02/05/2008
Posts: 2
|
Thanks Mike,
I will try that and I will post my results for others to see.
Cheers,
David[quote:892e873bea="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[/quote:892e873bea]
|
|
|
|
| |
|
Content generated in: 0.11 seconds |
|