Back to Programs
map-spectra
map-spectra calculates the mapping between science plane (wavelength
and slit coordinate) and CCD focal plane for a given observation set.
USAGE
|
map-spectra observset
|
INPUT
|
observset.obsdef
name of an existing observation definition file
|
OUTPUT
|
observset.map
is a file with the mapping information
|
PARAMETERS
|
minlambda
|
minimum wavelength
|
maxlambda
|
maximum wavelength
|
minpixl
|
minimum number of pixels of spectrum on a chip
|
use_partial
|
map partial slits
|
use_holes
|
map alignment holes as well as slits
|
|
Details:
map-spectra first finds, for each slit, spectrum segments-
ranges of wavelength- that fall on each chip. Wavelengths at which the object
position along the slit is too close (a few pixels) to the chip edge are not
included. If <span style="font-size:11.0pt;font-family:"Courier New";
font-weight:normal">minpixl</span><span style="font-size:12.0pt;font-weight:
normal"> is set to a non-zero number, shorter segments are discarded. </span><span style="font-size:12.0pt">map-spectra</span><span style="font-size:12.0pt;
font-weight:normal"> does not map <i>partial</i> slits, those with an end which
falls off the edge of the CCD at any wavelength, unless </span><span style="font-size:11.0pt;font-family:"Courier New";font-weight:normal">use_partials</span><span style="font-size:12.0pt;font-weight:normal"> is set to </span><span style="font-size:11.0pt;font-family:"Courier New";font-weight:normal">“y”</span><span style="font-size:12.0pt;font-family:"Courier New";font-weight:normal">. </span><span style="font-size:12.0pt;font-weight:normal">If partial slits are mapped,
map-spectra finds the wavelength at which the smallest fraction of the slit is
on a ccd, and uses this length for the entire spectrum. Slits that are not
mapped, and partial slits that are mapped, are reported when the program exits.
You must set <code><span style="font-family:"Times New Roman",serif">use_holes</span></code>
to "y" if you intend to use the alignment stars during the extraction
in </span><span style="font-size:12.0pt;font-weight:normal">extract-2dspec</span><span style="font-size:12.0pt;font-weight:normal">.</span> </h3>
<h3 style="margin-left:.5in;text-indent:-.25in"><span style="font-size:12.0pt;
font-family:Symbol;font-weight:normal">·<span style="font:7.0pt "Times New Roman"">
</span></span><span style="font-size:12.0pt;font-weight:normal">partial slits
may require special handling in later steps of the reduction. See the
documentation of </span><span style="font-size:12.0pt">adjust-map</span><span style="font-size:12.0pt;font-weight:normal"> and the COSMOS Cookbook for
details. </span></h3>
<h3 style="margin-left:.5in;text-indent:-.25in"><span style="font-size:12.0pt;
font-family:Symbol;font-weight:normal">·<span style="font:7.0pt "Times New Roman"">
</span></span><span style="font-size:12.0pt">map-spectra</span><span style="font-size:12.0pt;font-weight:normal"> may not handle slits that are
longer than the width of a ccd chip.</span></h3>
<p class="MsoNormal"> </p>
<p><a href="../docs/Programs.html">Back to Programs</a> </p>
</div>