gastro  0.1.0
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
CCDgExpStars Class Reference

Another model, to see whether we improve the situation by adding one scale per exposure, in addition to fitting one scale per CCD. More...

#include <photmodel.h>

Public Member Functions

 CCDgExpStars (unsigned int nstarmax=2000, unsigned int nccdmax=36, unsigned int nexpmax=1000)
 
void InitPars (Vect &pars) const
 initialize the fit parameters w/ info found in the fitter –or maybe just in the associations ? More...
 
int NGroups () const
 return the size of the parameter std::list
 
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
 return the total number of parameters
 
unsigned int NFittedCCDPhotFactors () const
 return the total number of fitted CCD (global) photometric factors
 
unsigned int NFittedStars () const
 return the total number of fitted stars
 
unsigned int NFittedExposurePhotFactors () const
 return the number of exposure photometric factors
 
bool CanCompute (const MeasuredStar &var, Vect &par) const
 set the pars(i) to 1 if the corresponding par is a reference 2 if the corresponding par can be 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 SetRefCCD (unsigned int ccd, double scale=1.)
 Declare a CCD (on a given exposure) as a ref.
 
void SetRefExp (CcdImage const &, double scale=1.)
 
void SetRefExp (int expindex, double scale=1.)
 
void SetRefStar (FittedStar const &, double flux)
 
int GetCcdPhotFactorIndex (MeasuredStar const &) const
 indexing methods
 
int GetExpPhotFactorIndex (MeasuredStar const &) const
 
int GetStarFluxIndex (MeasuredStar const &) const
 
void UpdateFittedStar (FittedStar &fs, Vect const &pars, Vect const &epars) const
 update the internal parameters of the fitted star
 

Detailed Description

Another model, to see whether we improve the situation by adding one scale per exposure, in addition to fitting one scale per CCD.

f_measured(star, ccd, exposure) = scale(ccd) * scale(exposure) * f_fitted(star)

Member Function Documentation

void CCDgExpStars::InitPars ( Vect &  pars) const

initialize the fit parameters w/ info found in the fitter –or maybe just in the associations ?

initialize the paramter std::list


The documentation for this class was generated from the following files: