Welcome to iraf.net Thursday, April 18 2024 @ 04:19 PM GMT
fitz |
07/09/2016 03:09AM (Read 819 times)
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
.[Moderator's Note: Forwarded from submitted story on behalf of user.]
I have many (1400) spectra with logarithmic binning in wavelength, how do I make a text file
with wavelengths in Angstroms rather than log(Angstroms)?
thanks...
|
|
|
|
fitz |
07/09/2016 03:28AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Unfortunately, WSPECTEXT doesn't have an option to either rebin the spectra or print out the converted wavelength values (although that could be a handy new feature). The DISPCOR task can be used to rebin the spectra back to linear wavelengths and then you can WSPECTEXT the result. Post back if you need pointers about how to script a small loop to process all your spectra or have a look at the CL Script Guide at https://iraf.net/irafdocs/script/
|
|
|
|
| |
|
Content generated in: 0.13 seconds |
|