Welcome to iraf.net Wednesday, April 24 2024 @ 10:52 PM GMT
jhargis |
05/08/2007 02:06PM (Read 3099 times)
|
|
|
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
|
|
|
|
valdes |
05/08/2007 02:06PM
|
|
|
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
|
|
|
|
| |
|
Content generated in: 0.10 seconds |
|