|
SPICE Examples |
|||||||||||||||
|
Examples of Point Source Spectral Extraction with SPICESPICE runs the same software that is used in the SSC pipeline. When run with all the default options selected, it produces the same extracted spectra available from the archive. There are many science programs that will need to optimize one or more aspects of the extraction, or to perform additional reduction of BCDs before extraction. On this page, we give a few basic examples processing to be done before and with SPICE. NOTE: When BCD data are modified prior to spectral extraction, it is important to preserve the FITS header information because some keywords are used by the extraction pipeline. Example: Extracting an object not in the default FOVIn low resolution, the pipeline searches for the brightest source near the requested position. A common use of SPICE is to extract another source in the slit. The location of the extraction window is controlled by the Ridge module. It is specified as a percentage along the slit, in the +x direction. The same location is used for all spectral orders. So, to extract another source in the slit:
Example: Sky SubtractionThe SSC pipeline performs background subtraction by differencing the nods of the pipeline coadded data products (the *.bksub.fits products in the pbcd subdirectory). However, users may need to perform their own sky subtraction for a variety of reasons before extracting spectra. Very faint sources (pdf), in particular, may require processing before coaddition and so new sky subtraction will need to be performed. Here we provide three examples of sky subtraction in the low resolution modules:
Example: Changing the Fatal BitmaskThe *bmask.fits file provides status information for each pixel in the input image. During extraction, pixels masked as ``fatal'' do not contribute to the spectrum. By default, the online pipeline defines bits 7,12,13,and 14 as fatal. In the Extract module, the user can change the definition of fatal bitmask conditions using the pull down menu. This change may improve the fidelity of features in the final spectrum or, more often, the cosmetic appearance of the continuum. Some users will modify the bitmask to reflect their own evaluation of pixel status and may wish to correspondingly change the definition of which bits are fatal. The definition of bit-setting conditions in the bmask.fits file are given in online help within SPICE. For a full discussion of the bitmask, see the IRS Data Handbook and the IRS Pipeline Handbook. |
help@spitzer.caltech.edu