<!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>Creation of the Classification Rules</TITLE> <META NAME="description" CONTENT="Creation of the Classification Rules"> <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="node380.html"> <LINK REL="previous" HREF="node378.html"> <LINK REL="up" HREF="node378.html"> <LINK REL="next" HREF="node380.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html6175" HREF="node380.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html6172" HREF="node378.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html6166" HREF="node378.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html6174" 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="tex2html6176" HREF="node380.html">Classification of images</A> <B> Up:</B> <A NAME="tex2html6173" HREF="node378.html">Classification of Images</A> <B> Previous:</B> <A NAME="tex2html6167" HREF="node378.html">Classification of Images</A> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION002241000000000000000"> Creation of the Classification Rules</A> </H2> An instruction for grouping flat field exposures could be: Select all files which have a descriptor IDENT matching one of the substrings 'FF', 'SKYFL', or 'FLAT'. With all relevant information being available in an Observation Summary Table, this can be accomplished by supplying a suitable logical expression to the general purpose command SELECT/TABLE. Because observers nomenclatures usually don't follow any standard conventions, the possibility is given to the users to write their own rules using an interface built on top on the Table Editor. This interface enables the user to interactively enter constraints on the existing fields of the OST. Relational operators ( >, <, != or =) may be used as well as logical operators (&, |). Values or ranges of values have to be specified (``*" is the wildcard character, ``<code>~</code>" ignores the case and the ``.." specifies a range of values). Constraints applied to more than one column are ANDed and translated into an expression understandable by the <B>SELECT</B> command. This expression is stored into a descriptor of the OST. The command <BLOCKQUOTE> <TT>CREATE/CRULE susi_ost bias</TT></BLOCKQUOTE>first creates a temporary table containing two columns labeled respectively :COLUMN and :RULE and then invokes the table editor. The user should then, for instance, formulate a rule for classifying BIAS exposures by entering constraints on columns of the OST (Table <A HREF="node378.html#fig:classi">15.4</A>). Finally the command stores the derived selection criterion in the descriptor BIAS of the table susi_ost:<BLOCKQUOTE> <TT>IDENT.eq."*BIAS*".AND.:EXPTIME.LE.1</TT></BLOCKQUOTE>This rule would lead to all files being classified as bias exposures which contain the string BIAS and the exposure time of which did not exceed one second. The temporary table file is automatically deleted when the descriptor of the OST has been created. <HR> <!--Navigation Panel--> <A NAME="tex2html6175" HREF="node380.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html6172" HREF="node378.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html6166" HREF="node378.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html6174" 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="tex2html6176" HREF="node380.html">Classification of images</A> <B> Up:</B> <A NAME="tex2html6173" HREF="node378.html">Classification of Images</A> <B> Previous:</B> <A NAME="tex2html6167" HREF="node378.html">Classification of Images</A> <!--End of Navigation Panel--> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-15</I> </ADDRESS> </BODY> </HTML>