Welcome to iraf.net Wednesday, April 24 2024 @ 08:44 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Plotting a binary table
   
tobita
 02/02/2015 04:42PM (Read 2894 times)  
+----
Newbie
working

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.

 
Profile Email
 Quote
fitz
 02/06/2015 09:53PM  
AAAAA
Admin

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
 

 
Profile Email
 Quote
   
Content generated in: 0.14 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login