<!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>Combine Example</TITLE> <META NAME="description" CONTENT="Combine Example"> <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="node48.html"> <LINK REL="up" HREF="node42.html"> <LINK REL="next" HREF="node50.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html2052" HREF="node50.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html2049" HREF="node42.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html2045" HREF="node48.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html2051" 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="tex2html2053" HREF="node50.html">Processing the Data</A> <B> Up:</B> <A NAME="tex2html2050" HREF="node42.html">Preparing Your Calibration Frames</A> <B> Previous:</B> <A NAME="tex2html2046" HREF="node48.html">Combining Sky Frames</A> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION00687000000000000000"> Combine Example</A> </H2> <P> As an example of the use of a Association Table similar to the one displayed in Table <A HREF="node40.html#ccd:association-table">3.1</A>. Let us create a master flat frame to be used for the reduction of the science frame <TT>susi0100.bdf</TT>. Suppose the Association Table contains the name of the master flat to be created: <TT>susi_140_142_143.bdf</TT>. Hence, three flats have to be combined, namely <TT>susi0140.bdf</TT>, <TT>susi0142.bdf</TT>, and <TT>susi0143.bdf</TT>. To combine these frames into the master flat field we enter: <BLOCKQUOTE> <TT>SELECT/TABLE asso_tbl <BR> COMBINE/CCD FF asso_tbl </TT></BLOCKQUOTE> The command will go the Association Table, checks the output name for the flat to be created for science frame <TT>susi0100</TT>, makes a list of single flats to be combined and does the combining. The output on the screen and stored in the MIDAS log file will look like (<TT>VERBOSE=YES</TT>): <P><PRE> Combining FLAT frames: Input=asso_tbl.tbl; output=susi_140_142_143.bdf Statistics of frame no. 0: area [@60,@10:@1070,@1020] of frame minimum, maximum: 5.560000e+02 8.654000e+03 mean, standard_deviation: 6.101316e+03 1.913127e+02 Statistics of frame no. 1: area [@60,@10:@1070,@1020] of frame minimum, maximum: 8.390000e+02 1.276900e+04 mean, standard_deviation: 8.313817e+03 2.569877e+02 Statistics of frame no. 2: area [@60,@10:@1070,@1020] of frame minimum, maximum: 4.220000e+02 1.046500e+04 mean, standard_deviation: 5.622723e+03 1.722370e+02 Method=avsigclip, low= 0.00, high= 0.00 lowclip= 3.00, highclip= 3.00 frame # Ncomb Exp_time Mode Scale Offset Weight susi0140.bdf 1 1.00 571.878 1.093 -0 0.333 susi0142.bdf 1 5.00 862.392 0.725 -0 0.333 susi0143.bdf 1 5.00 441.692 1.416 -0 0.333 -------------------------------------------------------------------- Statistics of output frame susi_140_142_143.bdf: area [@60,@10:@1070,@1020] of frame minimum, maximum: 6.045866e+02 1.023942e+04 mean, standard_deviation: 6.886717e+03 2.060752e+02 Ncomb Exp_time Mean Mode N_undef susi0100_ff 3 3.933 6886.72 623.478 0 Undefined pixels, set to `null value' (= 0.000000) -------------------------------------------------------------------- </PRE> <P> <BR><HR> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-15</I> </ADDRESS> </BODY> </HTML>