Another model, were we fit juste one scale per exposure. More...
#include <photmodel.h>
Public Member Functions | |
ExpStars (unsigned int nstarmax, unsigned int nccdimmax) | |
void | InitPars (Vect &pars) const |
initialize the fit – determine the total number fitted parameters | |
int | NGroups () const |
parameter groups | |
unsigned int | GroupIndex (int igroup) const |
group index | |
unsigned int | Size (int igroup=-1) const |
return the max size of the model | |
unsigned int | NPar (int igroup=-1) const |
total number of parameters | |
unsigned int | NFittedPhotFactors () const |
number of photometric factors | |
unsigned int | NFittedStars () const |
number of fitted stars | |
bool | CanCompute (const MeasuredStar &var, Vect &pars) const |
set the pars(i) to 1 if the corresponding par is a ref to 2 if the corresponding par is fitted leave it to zero otherwise | |
void | InitIndexTables (Vect const &pars) |
Init the index tables. | |
bool | Compute (const MeasuredStar &var, const Vect &pars, double &val, Vect &deriv) const |
main method: compute the model values and its derivatives | |
void | SetRefExp (CcdImage const &, double scale=1.) |
declare a CCD (on a given exposure) as REF | |
void | SetRefExp (unsigned int expindex, double scale=1.) |
int | GetPhotFactorIndex (MeasuredStar const &) const |
indexing methods | |
int | GetStarFluxIndex (MeasuredStar const &) const |
void | UpdateFittedStar (FittedStar &fs, Vect const &pars, Vect const &epars) const |
update the measurements | |
Another model, were we fit juste one scale per exposure.
f_measured(star, ccd, exposure) = scale(exposure) * flux(star)
This is the model used for the 1yr calibration.