Line fitting :
First zoom (left-mouse button selection) on required lines, the new
window should contain some baseline, then click on one of the Fit buttons. They
are three possible patterns :
flux = exp(-((wavelength - line_center)/line_width)^2/2) * line_height +
polynomial baseline
flux = (sinus(pi * (wavelength - line_center)/line_width + pi/2) + 1) *
line_height + polynomial baseline
The fit is slightly different as the pattern is given on a point by
point base by rescaling LWS spectral element curve with line height, line width
and line center position, then interpoling on required wavelengths.
As the resulting function have no obvious partial derivatives, the fit is done
estimating them with differences.
All three patterns are fitting 6 parameters :
When fit is done, baseline and line fit are overplotted on the spectrum (orange
and yellow). Then a window is displaid with :
The user can then record this parameter set or cancel
and try another fit pattern or some fit with different baseline range.
WARNINGS :
If you find some obviously out of purpose fit, it likely for one of the three
following reasons :
The selection is not large (short) enough. It is important to
select enough but not too much baseline, particularly when baseline is highly
increasing (or decreasing) and for absorption lines :
The first guess of fitting routines suppose a line located one the highest
or lowest value of the selection.
Wrong pattern . If the pattern you choose does not correspond to
your line you may have a fit completely different from the signal, for instance
sinus pattern is often much too thin for LWS lines.
Too noisy lines . For the moment, nothing limits variation range of line parameters (for
instance line width), for that reason too noisy lines are not fitted correctly.
Line database access :
Line database :
The database currently records a list of about 600 lines. Each line is
defined by a wavelength (in microns), an element or molecule formula, a
transition name (when available) and multiplet number (currently unused).
It has been created merging four inputs (exact reference will be added soon) :
WARNING :
For the moment, duplications are not removed, precision is missing and many
lines are given without their transition. We hope to have a more consistent
and complete database for next version, please be patient.
All comments are welcome at (vivares@cesr.cnes.fr)
Line library:
Recorded lines are stored inside a library of lines handled by 3 buttons
and accessed for plots.