<!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>An example of selection criteria</TITLE> <META NAME="description" CONTENT="An example of selection criteria"> <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="node386.html"> <LINK REL="previous" HREF="node384.html"> <LINK REL="up" HREF="node383.html"> <LINK REL="next" HREF="node386.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html6242" HREF="node386.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html6239" HREF="node383.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html6233" HREF="node384.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html6241" 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="tex2html6243" HREF="node386.html">Association of Calibration Exposures</A> <B> Up:</B> <A NAME="tex2html6240" HREF="node383.html">Association of images</A> <B> Previous:</B> <A NAME="tex2html6234" HREF="node384.html">Creation of the Association</A> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION002252000000000000000"> An example of selection criteria</A> </H2> <P> Table <A HREF="node385.html#fig:assorule">15.8</A> shows a table of association rules that has been created to associate bias exposures with scientific frames. A column labeled :MJD_LOC has been created in the OST and contains a number derived from the Modified Julian Date of the exposure. <UL> <LI>ABS(:MJD_LOC-REFVAL(:MJD_LOC)) is the absolute difference between the <I>time</I> of the scientific frame that is being studied and the <I>time</I> of a dark exposure <LI>ABS(:DET_TEMPMEAN-REFVAL(:DET_TEMPMEAN)) is the absolute difference between the mean temperature of the detector when the dark exposure was taken and the mean temperature of the detector when the scientific frame was observed. <LI>:NPIX_1-REFVAL(:NPIX_1) is the difference between the CCD window sizes in the X-direction of a dark exposure and the scientific frame while :NPIX_2-REFVAL(:NPIX_2) is the difference between the CCD window sizes in the Y-direction of a dark exposure and the scientific frame. </UL>Each row of the column labeled :RANGE_1 defines the acceptable ``first choice" ranges for each of the four functions mentioned previously, and the combination of these four criteria defines the ``first choice" set of criteria. This may be expressed as: <BR> Given a scientific exposure, select all dark exposures that satisfy: <BR> <P> <UL><LI>The elapsed time between the two exposures is less than 12 hours <BR> <LI>The detector mean temperature did not vary by more than 0.15 degrees between the two exposures <BR> <LI>The two frames have exactly the same size. <BR> </UL>The column RANGE_2 defines in the same way the set of ``second choice" criteria that can be expressed as: <BR> Given a scientific exposure, select all dark exposures that satisfy: <BR> <UL><LI>The elapsed time between the two exposures is less than 12 hours <BR> <LI>The detector mean temperature did not vary by more than 0.5 degrees between the two exposures <BR> <LI>The two frames have exactly the same size. <BR> </UL> <P> The graphs of Figure <A HREF="node386.html#fig:plot">15.2</A> illustrate the association of two dark exposures with each of two scientific images from our observing run: susi0006.bdf and susi0009.bdf. The association process when applying the set of criteria mentioned above will find two suitable candidates for susi0006.bdf satisfying the ``first choice" set of criteria. No ``first choice" candidates for susi0009.bdf will be found while five ``second choice" candidates may be selected. Because more importance is assigned to the time difference (weight=0.8) than to the detector temperature difference (weight=0.2), the files susi0001.bdf and susi0002.bdf will be flagged as the ``best" ones. (Note that the differences are computed in the units involved in the columns involved. In the given example they are degrees kelvin and days, respectively.) <BR> A table of rules (Table <A HREF="node385.html#fig:ruleff">15.9</A>) for associating flat-field exposures has been created following the same scheme. One criterion has to be added to the rules mentioned above: One has to make sure that one associates only frames obtained in the same instrument configuration (i.e in this case with the same filter). Figure <A HREF="node386.html#fig:plotff">15.3</A> shows that only one flat field can be associated with the frame susi0006.bdf (for clarity, only the FFs obtained with the same filter as the scientific image are numbered) while three suitable flat-fields may be selected for susi0009.bdf <P> <BR> <DIV ALIGN="CENTER"><A NAME="fig:assorule"> </A><A NAME="17543"> </A> <TABLE> <CAPTION><STRONG>Table:</STRONG> Rules for the association of DARK exposures (cf. Fig. <A HREF="node377.html#fig:susiost">15.3</A> and <A HREF="node386.html#fig:plot">15.2</A>)</CAPTION> <TR><TD><IMG WIDTH="940" HEIGHT="288" SRC="img906.gif" ALT="\begin{table} \centerline{\vbox{\psfig{figure=fig_do_3.ps,bbllx=3.2cm,bblly=12.1cm,bburx=18.4cm,bbury=15.7cm,width=15.2cm,height=3.7cm}}} \end{table}"></TD></TR> </TABLE> </DIV> <BR> <P> <BR> <DIV ALIGN="CENTER"><A NAME="fig:ruleff"> </A><A NAME="17545"> </A> <TABLE> <CAPTION><STRONG>Table:</STRONG> Rules for the association of FF exposures (cf. Fig. <A HREF="node377.html#fig:susiost">15.3</A> and <A HREF="node386.html#fig:plotff">15.3</A>)</CAPTION> <TR><TD><IMG WIDTH="940" HEIGHT="332" SRC="img907.gif" ALT="\begin{table} \centerline{\vbox{\psfig{figure=fig_do_11.ps,bbllx=2.3cm,bblly=11.7cm,bburx=19.5cm,bbury=16.4cm,width=17.2cm,height=4.6cm}}} \end{table}"></TD></TR> </TABLE> </DIV> <BR> <P> <HR> <!--Navigation Panel--> <A NAME="tex2html6242" HREF="node386.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html6239" HREF="node383.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html6233" HREF="node384.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html6241" 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="tex2html6243" HREF="node386.html">Association of Calibration Exposures</A> <B> Up:</B> <A NAME="tex2html6240" HREF="node383.html">Association of images</A> <B> Previous:</B> <A NAME="tex2html6234" HREF="node384.html">Creation of the Association</A> <!--End of Navigation Panel--> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-15</I> </ADDRESS> </BODY> </HTML>