Welcome to iraf.net Wednesday, April 24 2024 @ 10:52 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 'rspectext' task to convert text to spectrum
   
jhargis
 05/08/2007 02:06PM (Read 3099 times)  
++---
Junior

Status: offline


Registered: 02/19/2007
Posts: 28
Hello -I am trying to take a two-column ASCII text file (wavelength & flux) and convert it to an IRAF image file using 'rspectext'.It appears that rspectext is only taking 3 decimal places of precision on input even though my text files has 5. When I immediately write out the IRAF image (with wspect), not all the decimal places are there.How to I get rspectext to input exactly what is in my text file?Thanks, - Jonathan

 
Profile Email
 Quote
valdes
 05/08/2007 02:06PM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
Hello Jonathan,You don't say if you are refering to the wavelength or flux. Anyway, there is nothing in the rspectext/wspectext programs that limits the significant digits. In printing out the values with wspectext it is possible to get a small difference but it would be at the limit of the precision of the numbers. This would normally be for real numbers so there are roughly 6 digits of precision.If you want to send me the exact commands and the text file you are starting with I can try and understand your report further.Yours,
Frank Valdes
valdes@noao.edu

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