Converting Fits file into ASCII format
rohit wrote on Oct 31, 2006
Hi All,
I have a fits file. It is actually a spectra. When I use splot <filename>.fits I get a plot of spectra of an object which is normalized amplitude (y-axis) versus wavelength (x-axis). I would like to extract the data, get two columns one which would give me normalized amplitude in the range of 0-1 while the other column will give me wavelength. I would like to know how I can do that in IRAF. Someone suggested wspectext but it only gives me information about the file not the actual data I want to have.
Thanks,
Trillian
I have a fits file. It is actually a spectra. When I use splot <filename>.fits I get a plot of spectra of an object which is normalized amplitude (y-axis) versus wavelength (x-axis). I would like to extract the data, get two columns one which would give me normalized amplitude in the range of 0-1 while the other column will give me wavelength. I would like to know how I can do that in IRAF. Someone suggested wspectext but it only gives me information about the file not the actual data I want to have.
Thanks,
Trillian
rohit wrote on Oct 31, 2006
Sorry Wspectext did work. Apparently IRAF was acting funny! Sorry for this!
Last post on Oct 31, 2006