The data files into tables to be plotted with other programs
cosmologist wrote on Jun 25, 2011
Hi,
Is there a way to view the .fits files as a table with 2 columns (wavelength and flux) for the reduced data, so that it can easily be plotted with other plotting programs?
Thanks!
Is there a way to view the .fits files as a table with 2 columns (wavelength and flux) for the reduced data, so that it can easily be plotted with other plotting programs?
Thanks!
Mike Fitzpatrick wrote on Jun 25, 2011
See the WSPECTEXT or LISTPIXELS tasks (with the 'wcs' parameter set to 'world').
cosmologist wrote on Jun 25, 2011
fitz
See the WSPECTEXT or LISTPIXELS tasks (with the 'wcs' parameter set to 'world').
I used that and it worked. I was able to get a file that has 2 columns: wavelength and flux. But it is not in uniform steps of the wavelength. Can that be fixed or that's the way it is?
Mike Fitzpatrick wrote on Jun 25, 2011
You can use the DISPCOR or SCOPY tasks to linearize the dispersion, otherwise wspectext/listpix is using whatever dispersion is in the header.
Last post on Jun 25, 2011