SPICE User's Guide - IRSA
SPICE User's Guide - IRSA
SPICE User's Guide - IRSA
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
A.6 Optimum<br />
Runs the Optimal extraction algorithm. To run, type:<br />
unix% optimum <br />
Where the options are as follows:<br />
-p Input stellar profile template FITS file.<br />
<strong>SPICE</strong> User’s <strong>Guide</strong><br />
-I The input 2D spectrum from which you wish to extract a 1D spectrum.<br />
-u The name of the uncertainty file that goes with the input 2D spectrum. If you do<br />
not specify an uncertainty file, the extraction will be profile-weighted only, and<br />
will use the default uncertainty value set by the flag –default_unc (see below) for<br />
all pixe ls.<br />
-b The name of the mask FITS file that goes with the input 2D spectrum.<br />
-w The name of the *wavsamp.tbl file. This file specifies the location of the spectral<br />
orders on the array in x-y coordinates. It consists of pseudorectangles, which<br />
describe the fractional pixels that comprise each wavelength in the spectrum.<br />
You should choose the appropriate file in the cal/ subdirectory of your <strong>SPICE</strong><br />
insta llation. The file you choose should match both the Spitzer pipeline version<br />
with which your data were processed and the IRS module with which you are<br />
working.<br />
-ridge The name of the output table from running the Ridge module.<br />
-o The name of the output extraction table file.<br />
-r The name of the output rectified flux FITS file.<br />
-r_unc The name of the output rectified uncertainty FITS file. This is an optional<br />
intermediate product. <strong>SPICE</strong> will not write out this file unless an output filename<br />
is specified by the user.<br />
-r_bmask The name of the output rectified BMASK FITS file. This is an optional<br />
intermediate product. <strong>SPICE</strong> will not write out this file unless an output filename<br />
is specified by the user.<br />
<strong>SPICE</strong> on the Command Line 48 A.6 Optimum