Welcome to iraf.net Wednesday, April 24 2024 @ 06:38 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 splot output file
   
Alaa
 12/14/2014 06:44PM (Read 1858 times)  
+----
Newbie

Status: offline


Registered: 12/14/2014
Posts: 1
Hello,
I need some help regarding splot. I'm looking for a way to control the output file of splot task.
I use the following command to analyze my spectrum and save the results to the output file of the splot

\$this->_split2($m[0]) splot spec1.fits save_file="spec1-splot"

The output results that saved in spec1-splot is like that

center cont flux eqw core gfwhm lfwhm
3968.842 0.1558611 56.1166 -360. 26.0635 2.023 0.
(0.00293) ( 0.) ( 0.9185) ( 3.27) ( 0.4493) (0.00878) ( 0.)

The second row represent the error in each parameter in the first row. I'm looking only for the flux error and not all errors appear between brackets in the second row. I need also to format the output to have only five columns: wavelength, flux, flux error, eqw, gfwhm.
Is there a way to format the output of the splot task as I wish? Any ideas, Thanks! Alaa

 
Profile Email
 Quote
fitz
 12/15/2014 05:01PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
There are no options to control the format of the save file, the only way to change it is to modify the code. To get the value you want, have a look at the FIELDS task as a way to select specific columns.

 
Profile Email
 Quote
   
Content generated in: 0.11 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