Welcome to iraf.net Wednesday, April 24 2024 @ 08:44 PM GMT
tobita |
02/02/2015 04:42PM (Read 2894 times)
|
|
|
Status: offline
Registered: 01/30/2015
Posts: 1
|
Hi people. I'm completely a newbie in IRAF. Currently I have a FITS file with a binary table with 7Fx420R dimension in its first extension (by the way, I know that 'F' refers to columns, but what does 'F' actually stand for?) . What I'm trying to do is I want to tell IRAF to plot the fifth column, since this is the transmission fraction which I want to use to do the wavelength calibration for my spectra. Later, I'm gonna save this plot and apply the identify task to it.
I've been using tables \$this->_split2($m[0]) fitsio package for this, but can't still figure out how to do it.
Anybody have any idea how to solve this?
Thanks.
|
|
|
|
fitz |
02/06/2015 09:53PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
The TPRINT task can used to extract one or two columns from a table which you can then pipe directly to a plotting task. For example,
PHP Formatted Code
cl > tprint table .fits showrow + showhdr - column ="5" | graph STDIN
would use the 'showrow' parameter to print row numbers as the X-axis, otherwise you could select multiple columns with something like
PHP Formatted Code
cl > tprint table .fits showrow - showhdr - columns ="3,5" | graph STDIN
|
|
|
|
| |
|
Content generated in: 0.14 seconds |
|