next up previous contents
Next: ANALYSE/ROMAFOT Up: Study of the Point Previous: SELECT/ROMAFOT

FIT/ROMAFOT

FIT/ROMAFOT frame [int_tab] [thres,sky] [sig,sat,tol,iter] [meth[,beta]]
[fit_opt] [mean_opt]

This command determines the characteristics (position, width, height) of each selected stellar object through a non-linear best fit to the data. It assumes that a Gaussian or a Moffat function is adequate to describe the PSF and that a (possibly tilted) plane is a good approximation of the sky background.

This command can be used for many purposes. For instance, the shape of the object can be determined by performing a best fit with all parameters allowed to vary; alternatively, a complex object (e.g. a blend of ten or more objects) can be reconstructed using some a priori knowledge, such as the width of the PSF or the positions. In the first case, an object with an informative content which is as high as possible is necessary to settle the parameters involved; in the latter case this information is added to the data having a low degree of information.

Experience has shown that a Moffat function with appropriate parameters is always able to follow the actual profile of the data satisfactorily; a Gaussian is adequate in case of poor seeing. In general the fitting function can be described by the expression:

\begin{displaymath}F(a_{i},p_{i})\,=\,a_{1}x+a_{2}y+a_{3}+\sum_{k=1}^{36}f_{k}(x,y,p_{i,k}),
\end{displaymath}

where the ai's are the sky background coefficients, the pi's the parameters of the k elementary components and the fk given by:

\begin{displaymath}f_{k}\Longrightarrow
\left\{ \begin{array}{ll}
I=p_{1}\exp ...
...r
p_{4}^2}\}^{-\beta}, & \mbox{Moffat}
\end{array} \right.
\end{displaymath}

As has be mentioned in the Introduction, in the both expressions above, the $\sigma$ is NOT the sigma in the statistical sense (the standard deviation). For the Gaussian function $\sigma$ refers to the Full Width Half Maximum (FWHM) of the distribution; in case of the Moffet distribution, $\sigma$ is a function of the parameter $\beta$. Suppose at the beginning of the session some isolated objects have been selected in order to derive the PSF. The number of components per window, k, is set to 1 and the command runs with p1, p2, p3, p4 and $\beta$ all allowed to vary. However, experience shows that p4 (hereafter often referred to as $\sigma$) and $\beta$ are not totally independent. Therefore, it is preferable to fix $\beta$ at the typical value of $\beta=4$, to derive the corresponding $\sigma$ and to check the quality of the fit interactively. If the fit is unsatisfactory, change $\beta$ and derive the new $\sigma$. Since profiles are not a strong function of $\beta$ the parameter can be changed by a couple of units. Remember that if the fitted profile is wider than the object, $\beta$ should increase and vice versa. Typically, $\beta$ must be kept greater than 1 and it should not exceed 10. Naturally, these considerations do not apply if the Gaussian function is used. However, in case of stellar photometry the use of the Moffat function is strongly recommended.

Besides the best fit, FIT/ROMAFOT also computes the quality of the fit by the $\chi^{2}$ test and the semi-interquartile interval for each individual object. These data are stored together with the fit parameters and will be used by other commands (see EXAMINE/ROMAFOT).

During the execution the user will realise that the command occasionally makes several trials on the same window. This happens when the command is requested to fit a window with several objects and when one or more of these falls into the category ``NO CONVERGENCY''. In this case the command continues by ignoring such objects. When finally the convergency is found, the objects so far ignored are added and a new trial will start. The program will never delete objects on its own. The only exception is if an object falls under the threshold selected by the user, and after the background has been properly calculated considering, for instance, ``tails'' of nearby stars.

It should be emphasised that, even if the window is marked ``NO CONVERGENCY'', some objects in that window (in general the most luminous ones) have been found with adequate convergency. These objects will be flagged ``1'', while the objects flagged ``3'', ``4'' or ``5'' will be those responsible for ``NO CONVERGENCY''. Finally, objects flagged ``0'' are those under the photometry threshold. These flags should not worry the user; they will be used by subsequent commands. Now, the trial values contained in the intermediate table have been substituted by the result of fit in each record. To check their quality interactively in order to define the PSF, the user should execute the next command.


next up previous contents
Next: ANALYSE/ROMAFOT Up: Study of the Point Previous: SELECT/ROMAFOT
Petra Nass
1999-06-15