<!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>Object extraction</TITLE> <META NAME="description" CONTENT="Object extraction"> <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="previous" HREF="node694.html"> <LINK REL="up" HREF="node686.html"> <LINK REL="next" HREF="node696.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html10173" HREF="node696.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html10170" HREF="node686.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html10166" HREF="node694.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html10172" 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="tex2html10174" HREF="node696.html">FEROS</A> <B> Up:</B> <A NAME="tex2html10171" HREF="node686.html">MOS Cookbook - A</A> <B> Previous:</B> <A NAME="tex2html10167" HREF="node694.html">Object definition and sky</A> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION003675000000000000000"> Object extraction</A> </H2> <P> Use <TT>EXTRACT/MOS</TT> to sky-subtract and extract the detected objects in an output frame with an optimum extraction scheme using different weights for the individual rows (following Horne, 1986, PASP 98, 609). The procedure is iterative. If the number of iterations <!-- MATH: $\fbox{{\small \tt EXTPAR(2)}}$ --> <IMG WIDTH="108" HEIGHT="29" ALIGN="BOTTOM" BORDER="0" SRC="img1406.gif" ALT="\fbox{{\small \tt EXTPAR(2)}}">is set to a negative number, a spectrum computed with equal weights is returned. The sky frame ( <!-- MATH: $\fbox{{\small \tt SKYFRAME}}$ --> <IMG WIDTH="98" HEIGHT="26" ALIGN="BOTTOM" BORDER="0" SRC="img1407.gif" ALT="\fbox{{\small \tt SKYFRAME}}"> (<B>sky</B>)) and the CCD read-out-noise and gain ( <!-- MATH: $\fbox{{\small \tt CCDPAR}}$ --> <IMG WIDTH="77" HEIGHT="26" ALIGN="BOTTOM" BORDER="0" SRC="img1408.gif" ALT="\fbox{{\small \tt CCDPAR}}">) are used to compute the errors of the resulting spectra. The extracted spectra are stored in a 2-D frame, each line corresponding to one extracted object. In addition, the errors for the extracted spectra are stored in this frame, one line per spectrum. <P> To rebin the resulting frames to constant wavelength steps use: <P> <BR> <BR> Midas ...> <TT>SET/MOS extobjec=in</TT> <P> <BR> <BR> Midas ...> <TT>SET/MOS rebstrt=start rebend=end rebstp=step</TT> <P> <BR> <BR> Midas ...> <TT>REB1D/MOS ? reb</TT> <P> <BR> <BR> This will split the extracted frame in.bdf into individual frames with constant wavelength steps, named reb0001, reb0002, etc. using the dispersion coefficients of <!-- MATH: $\fbox{{\small \tt LINFIT}}$ --> <IMG WIDTH="77" HEIGHT="26" ALIGN="BOTTOM" BORDER="0" SRC="img1409.gif" ALT="\fbox{{\small \tt LINFIT}}">.tbl. <P> If you want to avoid rebinning noise you can use <TT>APPLY/MOS</TT> to produce a table with the columns <TT>:WAVELENGTH, :FLUX, :FLUX_ERROR,</TT> and <TT>:BIN</TT>. <P> <BR> <BR> Midas ...> <TT>SET/MOS extobjec=in calobjec=ap</TT> <P> <BR> <BR> Midas ...> <TT>APPLY/MOS</TT> <P> <BR> <BR> This will take the frame in.bdf and convert it to tables ap0001.tbl, ap0002.tbl, etc. using the dispersion coefficients of <!-- MATH: $\fbox{{\small \tt LINFIT}}$ --> <IMG WIDTH="77" HEIGHT="26" ALIGN="BOTTOM" BORDER="0" SRC="img1410.gif" ALT="\fbox{{\small \tt LINFIT}}">.tbl. <P> =31 =03 =1999 <P> <HR> <!--Navigation Panel--> <A NAME="tex2html10173" HREF="node696.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html10170" HREF="node686.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html10166" HREF="node694.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html10172" 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="tex2html10174" HREF="node696.html">FEROS</A> <B> Up:</B> <A NAME="tex2html10171" HREF="node686.html">MOS Cookbook - A</A> <B> Previous:</B> <A NAME="tex2html10167" HREF="node694.html">Object definition and sky</A> <!--End of Navigation Panel--> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-15</I> </ADDRESS> </BODY> </HTML>