Extracting spectra from a fits cube
Umut Yildiz wrote on Feb 19, 2010
Hi,
I have spectral data cube in fits format. But I need to extract each spectra to individual fits files. I would like to know how to do that?
Thanks
Umut
I have spectral data cube in fits format. But I need to extract each spectra to individual fits files. I would like to know how to do that?
Thanks
Umut
Mike Fitzpatrick wrote on Feb 19, 2010
How (or whether) you can do this depends on the data format, i.e. is this raw data from some instrument that requires specialized software to reduce, or is it a final data product and you simply want to slice a 3-D cube into many 2-D files? The first case isn't generically supported very well, especially for instruments like IFU or Fabry-Perot. If you have some reason to think IRAF is able to reduce this data then usually Googling the instrument name and 'IRAF' would reveal the needed package.
In the second case, the IMSLICE task can reduce the dimensionality of an image or you could explicitly copy out data sections. Tasks like SCOPY are able to extra specific apertures and bands and can be used with e.g. Fabry-Perot data (see the help page). If you still have questions, please post more information about the instrument and file format.
-Mike
In the second case, the IMSLICE task can reduce the dimensionality of an image or you could explicitly copy out data sections. Tasks like SCOPY are able to extra specific apertures and bands and can be used with e.g. Fabry-Perot data (see the help page). If you still have questions, please post more information about the instrument and file format.
-Mike
Last post on Feb 19, 2010