15 class PhotomParam :
public RefCount
21 PhotomParam(
const double &FS) : fluxScale(FS), index(-1) {};
22 void SetIndex(
const int I) { index=I;}
23 int Index()
const {
return index;}
28 typedef std::list<CountedRef<PhotomParam> > PhotomParamList;
34 std::string photomBand;
38 CcdImageList otherCcds;
39 CcdImageList ccdImageList;
41 PhotomParamList photomParamList;
43 double chi2_measured, chi2_ref;
44 int n_measured, n_ref;
47 std::map<const CcdImage *, PhotomParam*> imageParamMap;
48 void SetPhotomParam(
const CcdImage &C, PhotomParam &P);
59 bool Minimize(
const int MaxIter);
61 PhotomParam& GetPhotomParam(
const CcdImage &C)
const;
63 CcdImageList
const& GetCcdImageList()
const {
return ccdImageList; }
66 void PrintChi2(
const std::string &Message)
const;
68 void RemoveOutliers(
const double &NSigCut);
69 void DumpFluxScales(
const std::string &FileNamePattern)
const;
70 void WriteCatalog(
const std::string &FileName)
const;
72 void SaveResults(
const std::string &Pattern);
76 template <
class Op>
void loop_on_measurements(CcdImageList &List, Op &);
A list of FittedStar s. Such a list is typically constructed by Associations.
Definition: fittedstar.h:158
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