<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998) originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Extracting the Spectrum</TITLE> <META NAME="description" CONTENT="Extracting the Spectrum"> <META NAME="keywords" CONTENT="vol2"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <LINK REL="STYLESHEET" HREF="vol2.css"> <LINK REL="next" HREF="node519.html"> <LINK REL="previous" HREF="node517.html"> <LINK REL="up" HREF="node501.html"> <LINK REL="next" HREF="node519.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html7918" HREF="node519.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html7915" HREF="node501.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html7909" HREF="node517.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html7917" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html7919" HREF="node519.html">Flux Calibration</A> <B> Up:</B> <A NAME="tex2html7916" HREF="node501.html">A Typical Session: Cook-book</A> <B> Previous:</B> <A NAME="tex2html7910" HREF="node517.html">Estimating the Sky Background</A> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION003037000000000000000"> </A> <A NAME="extract"> </A> <BR> Extracting the Spectrum </H2> <P> The limits of the object are defined in the keyword <!-- MATH: $\fbox{OBJECT}$ --> <IMG WIDTH="104" HEIGHT="29" ALIGN="BOTTOM" BORDER="0" SRC="img1050.gif" ALT="\fbox{OBJECT}">. A simple row average is performed by: <BR> <BR> Midas...> <TT>SET/LONG OBJECT=189,196</TT> <BR> Midas...> <TT>EXTRACT/AVERAGE corr56 ext56</TT> <BR> <BR> which is equivalent to the general MIDAS command: <BR> <BR> Midas...> <TT>AVERAGE/ROW ex56 = corr56 @189,@196 </TT> <BR> <BR> An optimal extraction algorithm is also available, requiring the knowledge of the CCD detector parameters, a preliminary definition of the sky background, as well as the values of a polynomial order <!-- MATH: $\fbox{ORDER}$ --> <IMG WIDTH="95" HEIGHT="29" ALIGN="BOTTOM" BORDER="0" SRC="img1051.gif" ALT="\fbox{ORDER}"> and a number of iterations <!-- MATH: $\fbox{NITER}$ --> <IMG WIDTH="85" HEIGHT="29" ALIGN="BOTTOM" BORDER="0" SRC="img1052.gif" ALT="\fbox{NITER}">. The command: <BR> <BR> Midas...> <TT>EXTRACT/LONG ccd0056 ext56 sky56</TT> <BR> <BR> applies the Horne's optimal extraction algorithm to the image <B>ccd0056.bdf</B> and performs the sky subtraction to generate the output image <B>ext56.bdf</B>. <P> <BR><HR> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-15</I> </ADDRESS> </BODY> </HTML>