Sophie

Sophie

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

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>Using the sky model</TITLE>
<META NAME="description" CONTENT="Using the sky model">
<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="node277.html">
<LINK REL="up" HREF="node274.html">
<LINK REL="next" HREF="node279.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html4916"
 HREF="node279.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html4913"
 HREF="node274.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html4909"
 HREF="node277.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html4915"
 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="tex2html4917"
 HREF="node279.html">Choosing a gradient estimator</A>
<B> Up:</B> <A NAME="tex2html4914"
 HREF="node274.html">Reductions   at</A>
<B> Previous:</B> <A NAME="tex2html4910"
 HREF="node277.html">Sky models</A>
<BR>
<BR>
<!--End of Navigation Panel-->

<H3><A NAME="SECTION001853400000000000000">
Using the sky model</A>
</H3>
If you elect to model the sky, you will see some graphs showing the 
progress of the fitting procedure.
First, if some bright stars were observed, you see a plot of sky data (for a
given band and night) as a function of the adjacent star's brightness.
A crude linear fit, indicated by + signs, shows the initial estimate of the
star contribution to ``sky'' data.
Second, if there are enough dark-sky data to model, you will see a plot of the
dark-sky data (corrected for star light) as a function of airmass, with the
fitted <I>B</I><SUB>1</SUB> term drawn in as + signs.
Both these plots show instrumental intensity units on the vertical scale.

<P>
Next, if there are enough data with the Moon above the horizon to fit the <I>B</I><SUB>2</SUB>term, you will see a plot of the moonlit sky, corrected for both the stellar
and the dark-sky terms, as a function of elongation from the Moon.
To show the importance of the lunar aureole (whose presence is an indicator of
considerable aerosol scattering, and hence probably non-photometric
conditions), this plot is normalized by multiplication by the factor in square
brackets (cf. the equation for <I>B</I><SUB>2</SUB> in the previous subsection) and division
by the airmass; that is, it is simply a plot of the <I>E</I>-dependent factor in
parentheses.
Again, the fit is shown with + signs.  If the subtraction of the stellar and
dark-sky terms produced some apparently negative intensities, the calculated
zero level for the <I>B</I><SUB>2</SUB> term will be drawn as a horizontal line.

<P>
If the sky is good, this plot will be nearly horizontal.
Usually, it bends up near 0 and 3 radians, with a minimum near 1.7; your data
may not cover this whole range, so pay attention to the numbers on the
horizontal scale.
The vertical scale is chosen to make the range of most measurements visible, so
the zero level may be suppressed; look at the numbers on the vertical scale.

<P>
It often happens that the range of the independent variables in these fits is
inadequate to allow a full fit of all the parameters.
Reasonable starting values will be used for the indeterminate parameters.
The fitting strategy is to adjust the best-determined parameters first, and
release parameters in turn until nothing more can be done.
At each stage, the results of a fit are examined to see whether the values
determined are reasonable.
For example, most of the parameters must be positive; and the dimensionless
ones should not be much larger than unity.

<P>
You will be informed of the progress of these fitting attempts.
Do not be alarmed by ``error messages'' like <TT>DLSQ FAILED</TT> or
<TT>SINGULAR MATRIX</TT> or <TT>Solution abandoned</TT>.
It is quite common for solutions to fail when several parameters are being
adjusted, if the data are not well distributed over the sky.
Sometimes, when a solution fails, the fitting subroutine will check to make
sure the partial derivatives were computed correctly.
This is a safety feature built into this subroutine, and you should always find
that the error in the derivatives is 10<SUP>-6</SUP> or less.
The program should then comment that the model and data are incompatible,
because we are usually trying to fit more parameters than the data can
support.
Remember that the program will adopt the best solution it can get; so watch for
messages like
<TT>3-parameter fit accepted</TT>, and don't worry about the failures.

<P>
Pay more attention to the graphs that compare the fits to the data.
Are there regions where they become widely separated?
If so, the fit is poor, and you can forget about the model.
If the fit looks good, the model is useful for detecting bad sky data, and may
even be useful for interpolating missing sky measurements.

<P>
When the fitting is complete, the program will print the terms used in the fit.
Then, three summary graphs display the quality of the fit.
The moonlit data are marked M in each of these three plots.
The first shows the observed sky brightness as a function of the model value.
This plot should be a straight line.

<P>
The second diagnostic
plot shows the <I>residuals</I> of the sky fit as a function of the
adjacent star brightness.
These points should be clustered about the axis indicated by dashes.
If you tend to measure sky farther from bright stars than from faint stars, as
some beginners tend to do, the points will show a downward trend toward the
right.
That's a sign that you need to be more careful in choosing sky positions.
Likewise, a large scatter in this plot probably means you have been careless in
choosing sky positions, sometimes measuring closer to the star and sometimes
farther away.
(Here, ``large'' means large compared to the typical sky values on previous
plots.)

<P>
The final plot in this group shows
the <I>ratio</I> of the observed to the computed (modelled) sky brightness,
as a function of time.
If the airglow changes with time, you will see waves and wiggles in the
dark-sky portion.
Likewise, if the aerosol is varying with time, you will see coherent variations
in the moonlit portion.
The upper and lower limits of this plot are fixed in absolute value, so the
scatter visible here is a direct indication of the quality of the overall fit.

<P>
Finally, if there are aberrant points that do not fit the model, they will be
tabulated.
If the data are not well represented by the model, there will be many entries
in this table.
Pay particular attention to the last column, which gives the ratio plotted in
the last diagnostic graph.
If the fits were generally satisfactory,
the few sky measurements tabulated here may
be in error, and may indicate a instrumental or procedural problem.
They should be examined carefully to determine the cause of the problem.

<P>
After all this information has been presented, you will be asked whether you
want to subtract the modelled sky from the stellar data.
You can reply Yes or No, or enter R to repeat the whole process, or H to ask
for help.
If you reply Yes, the model values will be subtracted from all the stellar data
that were not taken during twilight.
However, as twilight is not modelled, the nearest-neighbor method will be used
to correct stars observed during twilight.
If you reply No, you will be given the option of subtracting the nearest
neighbor in all cases.

<P>
The sky models do not work well if only a few observations are made with
the Moon either above or below the horizon.
They do not handle solar or lunar twilight.
They can have difficulties if the observations are not well distributed over
the sky.
In these, as in some other cases discussed above, one should choose some other
method instead of using a model for sky subtraction.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html4916"
 HREF="node279.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html4913"
 HREF="node274.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html4909"
 HREF="node277.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html4915"
 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="tex2html4917"
 HREF="node279.html">Choosing a gradient estimator</A>
<B> Up:</B> <A NAME="tex2html4914"
 HREF="node274.html">Reductions   at</A>
<B> Previous:</B> <A NAME="tex2html4910"
 HREF="node277.html">Sky models</A>
<!--End of Navigation Panel-->
<ADDRESS>
<I>Petra Nass</I>
<BR><I>1999-06-15</I>
</ADDRESS>
</BODY>
</HTML>