Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 37ce2601040f8edc2329d4714238376a > files > 4431

eso-midas-doc-13SEPpl1.2-3.mga5.i586.rpm

<!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>Locating slitlets and flat-field correction</TITLE>
<META NAME="description" CONTENT="Locating slitlets and flat-field correction">
<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="node689.html">
<LINK REL="previous" HREF="node687.html">
<LINK REL="up" HREF="node686.html">
<LINK REL="next" HREF="node689.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html10096"
 HREF="node689.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html10093"
 HREF="node686.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html10087"
 HREF="node687.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html10095"
 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="tex2html10097"
 HREF="node689.html">Wavelength calibration</A>
<B> Up:</B> <A NAME="tex2html10094"
 HREF="node686.html">MOS Cookbook - A</A>
<B> Previous:</B> <A NAME="tex2html10088"
 HREF="node687.html">Starting the whole thing</A>
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION003672000000000000000">
Locating slitlets and flat-field correction</A>
</H2>

<P>
The very first thing you should do now is to locate the limits of your slitlets
because this information is needed for all further commands. Therefore you
type
	
<P>
<BR>
<BR>
Midas
	...&gt; <TT>LOCATE/MOS</TT>  
<P>
<BR>
<BR>
This should produce the table 
<!-- MATH: $\fbox{{\small \tt MOS}}$ -->
<IMG
 WIDTH="45" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1344.gif"
 ALT="\fbox{{\small \tt MOS}}">.tbl (<B>mos</B>) with the columns 

<P><P>
<BR>

<P>
 
<TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="LEFT"><TT> :SLIT</TT></TD>
<TD ALIGN="LEFT">sequential number of slitlet</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> :YSTART</TT></TD>
<TD ALIGN="LEFT">first row of slitlet (world coordinates)</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> :YEND</TT></TD>
<TD ALIGN="LEFT">last row of slitlet (world coordinates)</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT> :XOFFSET</TT></TD>
<TD ALIGN="LEFT">offset of slitlet from center of CCD</TD>
</TR>
</TABLE>
<BR>
<BR>
<BR>
<BR>

<P>
and write the total number of slitlets to 
<!-- MATH: $\fbox{{\small \tt NSLIT}}$ -->
<IMG
 WIDTH="66" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1345.gif"
 ALT="\fbox{{\small \tt NSLIT}}">
(<B>0</B>).
It may be that the threshold defined by 
<!-- MATH: $\fbox{{\small \tt FLATLIM)(1}}$ -->
<IMG
 WIDTH="119" HEIGHT="29" ALIGN="BOTTOM" BORDER="0"
 SRC="img1346.gif"
 ALT="\fbox{{\small \tt FLATLIM)(1}}">
(<B>0</B>)
is either too low
(e.g. below bias value) or too high for your data. 
Also, the width (
<!-- MATH: $\fbox{{\small \tt FLATLIM(2)}}$ -->
<IMG
 WIDTH="119" HEIGHT="29" ALIGN="BOTTOM" BORDER="0"
 SRC="img1347.gif"
 ALT="\fbox{{\small \tt FLATLIM(2)}}">)
(<B>0</B>) may be chosen to high or 
too small. If you detect too many slitlets, where only noise is visible,
you should increase (
<!-- MATH: $\fbox{{\small \tt FLATLIM(3)}}$ -->
<IMG
 WIDTH="119" HEIGHT="29" ALIGN="BOTTOM" BORDER="0"
 SRC="img1348.gif"
 ALT="\fbox{{\small \tt FLATLIM(3)}}">
(<B>0</B>)).
You also can change the scan position and width (
<!-- MATH: $\fbox{{\small \tt SCAN\_POS}}$ -->
<IMG
 WIDTH="95" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1349.gif"
 ALT="\fbox{{\small \tt SCAN\_POS}}">).

<P>
Then you should have a look at your flat-field and try again with
	
<P>
<BR>
<BR>
Midas
	...&gt; <TT>SET/MOS flatlim=threshold,width,limit</TT>  
<P>
<BR>
<BR>
Midas ...&gt; <TT>SET/MOS scan_pos=xpos xbin=width</TT>
	  
<P>
<BR>
<BR>
Midas ...&gt; <TT>LOCATE/MOS</TT>
	  
<P>
<BR>
<BR>
You may also try to identify the slitlets interactively with
	
<P>
<BR>
<BR>
Midas
	...&gt; <TT>LOAD {flat}</TT>  
<P>
<BR>
<BR>
Midas ...&gt; <TT>DEFINE/SLIT init</TT>
	  
<P>
<BR>
<BR>
Midas ...&gt; <TT>DEFINE/SLIT add ##</TT>
	  
<P>
<BR>
<BR>
where ## stands for the number of slitlets you want to identify.
You will have to determine the offsets between the slitlets with <TT>OFFSET/MOS</TT> (see below).

<P>
If you do not have FORS data the column <TT>:xoffset</TT> will be set to zero.
This is due to the fact that for FORS data the slitlet positions given
in the header of the frame are transformed to offsets from the center
of the CCD. This transformations is obviously not valid for other instruments.
As you will need the offsets for the wavelength calibration frame you can 
determine the offsets <B>relative to the first one
(which is not necessarily identical with the center of the CCD)</B> with
	
<P>
<BR>
<BR>
Midas
	...&gt; <TT>OFFSET/MOS</TT>  
<P>
<BR>
<BR>
As this command does a line search in the wavelength calibration frame

<!-- MATH: $\fbox{{\small \tt WLC}}$ -->
<IMG
 WIDTH="45" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1350.gif"
 ALT="\fbox{{\small \tt WLC}}">.bdf (<B>wlc</B>) and correlates only the detected arc lines
the resulting offsets may be wrong if there are not
enough lines to get unambiguous correlation results.
Setting the parameter  
<!-- MATH: $\fbox{{\small \tt SEAPAR}}$ -->
<IMG
 WIDTH="77" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1351.gif"
 ALT="\fbox{{\small \tt SEAPAR}}">
(<B>200,5</B>) to the values successfully
used for 
SEARCH/MOS will help to yield reasonable results.

<P>
Normally spectroscopic flat fields show the spectral signature of the lamp
with which they were taken. You can take out this spectral intensity 
distribution with
	
<P>
<BR>
<BR>
Midas
	...&gt; <TT>NORMALIZE/MOS</TT>  
<P>
<BR>
<BR>
By default this command will fit a polynomial 
of 
<!-- MATH: $\fbox{{\small \tt FFORD}}$ -->
<IMG
 WIDTH="67" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1352.gif"
 ALT="\fbox{{\small \tt FFORD}}"><IMG
 WIDTH="22" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1353.gif"
 ALT="$^{\rm th}$">
(<B>3</B><IMG
 WIDTH="23" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1354.gif"
 ALT="$^{\rm rd}$">)
order to the averaged
(along the slitlet) spectral intensity of the flat field (
<!-- MATH: $\fbox{{\small \tt FLAT}}$ -->
<IMG
 WIDTH="56" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1355.gif"
 ALT="\fbox{{\small \tt FLAT}}">
(<B>flat</B>)) (separately for each slitlet) and divide it
by these fits. The results are stored in the frame 
<!-- MATH: $\fbox{{\small \tt NORMFLAT}}$ -->
<IMG
 WIDTH="98" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1356.gif"
 ALT="\fbox{{\small \tt NORMFLAT}}">
(<B>normflat</B>).
Alternatively, you can normalize the flat field by dividing through
an average smoothed with a median filter.
To perform the actual flatfield correction together with the
normalization type
	
<P>
<BR>
<BR>
Midas
	...&gt; <TT>FLAT/MOS</TT>  
<P>
<BR>
<BR>
This command will do the normalization and divide the frame 
<!-- MATH: $\fbox{{\small \tt OBJ}}$ -->
<IMG
 WIDTH="45" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1357.gif"
 ALT="\fbox{{\small \tt OBJ}}">.bdf by 

<!-- MATH: $\fbox{{\small \tt NORMFLAT}}$ -->
<IMG
 WIDTH="98" HEIGHT="26" ALIGN="BOTTOM" BORDER="0"
 SRC="img1358.gif"
 ALT="\fbox{{\small \tt NORMFLAT}}">.bdf.
If you have not given any name for the result frame
it will derive the name of the 
flat field corrected object frame by adding an <TT>`F'</TT>
 to the name of the input 
frame (e.g. <TT>Ffors0001</TT>).

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html10096"
 HREF="node689.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html10093"
 HREF="node686.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html10087"
 HREF="node687.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html10095"
 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="tex2html10097"
 HREF="node689.html">Wavelength calibration</A>
<B> Up:</B> <A NAME="tex2html10094"
 HREF="node686.html">MOS Cookbook - A</A>
<B> Previous:</B> <A NAME="tex2html10088"
 HREF="node687.html">Starting the whole thing</A>
<!--End of Navigation Panel-->
<ADDRESS>
<I>Petra Nass</I>
<BR><I>1999-06-15</I>
</ADDRESS>
</BODY>
</HTML>