<!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>Initializing keywords</TITLE> <META NAME="description" CONTENT="Initializing keywords"> <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="node503.html"> <LINK REL="up" HREF="node502.html"> <LINK REL="next" HREF="node505.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html7760" HREF="node505.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html7757" HREF="node502.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html7753" HREF="node503.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html7759" 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="tex2html7761" HREF="node505.html">Reading the Data</A> <B> Up:</B> <A NAME="tex2html7758" HREF="node502.html">Getting Started</A> <B> Previous:</B> <A NAME="tex2html7754" HREF="node503.html">Set the context</A> <BR> <BR> <!--End of Navigation Panel--> <H3><A NAME="SECTION003031200000000000000"> Initializing keywords</A> </H3> <P> The keywords contain all necessary parameters (see Chapter 6, Sect. 1.9 of the Vol. B for a complete list). <TT>SET/CONTEXT long</TT> will set all relevant keywords to their default values. To override the defaults, three possibilities exist: <P> <DL COMPACT> <DT>1. <DD>Terminal input (see also MIDAS Users Manual Sect. 3.2.3, Volume A), e.g.: <BR> <BR> Midas...> <TT>WLC = ``<B>ccd0045</B> ''</TT> <BR> Midas...> <TT>DCX(2) = 4</TT> <BR> <P> Note that adding some blanks at the end of a string to be entered into a character-type keyword may be a good idea in case the previous contents was a longer character string. Also it is mandatory to leave at least one blank on each side of the equal sign (=). <P> <DT>2. <DD>Using the command <TT>SET/LONG</TT>. This form is safer since keyword names are checked and the syntax is more flexible. The command: <BR> <BR> Midas...> <TT>SET/LONG WLC =<B>ccd0045</B> DC=,4</TT> <BR> <P> is equivalent to the two commands above. It can be noted that no blanks are necessary at the end of the strings and that spaces before or after the assignment symbol (=) can be freely added or removed. Keyword names can also be truncated to their shortest significant part. <P> <DT>3. <DD>Restoring the values saved in a previous session with: <BR> <BR> Midas...> <TT>INIT/LONG</TT> <B>session</B> <BR> <P> where <B>session</B> is the name of a table created at the end of a previous session by the command: <BR> <BR> Midas...> <TT>SAVE/LONG</TT> <B>session</B> <BR> <P> </DL> <P> Generally, if parameters required for commands of the long slit package are omitted, their values will be taken from the associated keywords. Also, if a value is provided on-line to a command, it will change the value of the corresponding keyword. To display the current keyword values, type: <BR> <BR> Midas...> <TT>SHOW/LONG</TT> <BR> <P> Since there is an important number of keywords involved in the package, the command <TT>SHOW/LONG</TT> is organized in sections, <I>e.g.</I>: <BR> <BR> Midas...> <TT>SHOW/LONG g</TT> for general formats information <BR> Midas...> <TT>SHOW/LONG d</TT> for dark, bias and flat-field corrections <BR> Midas...> <TT>SHOW/LONG w</TT> for wavelength calibration keywords <BR> Midas...> <TT>SHOW/LONG r</TT> for resampling keywords <BR> Midas...> <TT>SHOW/LONG e</TT> for extraction keywords <BR> Midas...> <TT>SHOW/LONG f</TT> for flux calibration keywords <BR> <BR> Information can also be obtained on the keywords with <TT>HELP/LONG</TT>, as in: <BR> <BR> Midas...> <TT>HELP/LONG wlcmtd</TT> <BR> <P> which provides the type, default value, description and current value of the keyword <!-- MATH: $\fbox{WLCMTD}$ --> <IMG WIDTH="118" HEIGHT="29" ALIGN="BOTTOM" BORDER="0" SRC="img1016.gif" ALT="\fbox{WLCMTD}">. A list of keywords and command names of the context Long is provided in Chapter 6 of the Volume B (Sect. 1.8 and 1.9). <P> <HR> <!--Navigation Panel--> <A NAME="tex2html7760" HREF="node505.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html7757" HREF="node502.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html7753" HREF="node503.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html7759" 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="tex2html7761" HREF="node505.html">Reading the Data</A> <B> Up:</B> <A NAME="tex2html7758" HREF="node502.html">Getting Started</A> <B> Previous:</B> <A NAME="tex2html7754" HREF="node503.html">Set the context</A> <!--End of Navigation Panel--> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-15</I> </ADDRESS> </BODY> </HTML>