15 enum FitKind { Total=0, FlipFlop=1};
22 const CcdImageList &ccdImageList;
25 unsigned int nParChips;
26 unsigned int nParStars;
29 double chi2_measured, chi2_ref;
30 int n_measured, n_ref;
33 std::map<const CcdImage*, GeomParam*> imageParamMap;
35 void SetGeomParam(
const CcdImage &C, GeomParam &G);
37 void update_geom_params(Vect &B);
39 void minimize_independant_geom_params();
51 bool Minimize(
const FitKind,
const int MaxIter =0);
54 void SetStarIndexes();
58 void PrintChi2(
const std::string &Message)
const;
61 GeomParam & GetGeomParam(
const CcdImage & ccdImage)
const;
66 void SaveResults(
const std::string &Tag);
Chi2 ComputeChi2() const
Returns a chi2 for the current state.
Definition: astromfit.cc:410
A list of FittedStar s. Such a list is typically constructed by Associations.
Definition: fittedstar.h:158
Definition: astromfit.h:53
The class that implements the relations between MeasuredStar and FittedStar.
Definition: associations.h:17
handler of an actual image from a single CCD
Definition: ccdimage.h:21
bool Minimize(const std::string &WhatToFit)
Does a 1 step minimization, assuming a linear model.
Definition: astromfit.cc:673
AstromFit(Associations &A, DistortionModel *D)
this is the only constructor
Definition: astromfit.cc:20