1 #ifndef CONSTRAINEDPOLYMODEL__H
2 #define CONSTRAINEDPOLYMODEL__H
4 #include "eigenstuff.h"
5 #include "simplepolymapping.h"
9 #include "distortionmodel.h"
11 #include "simplepolymapping.h"
12 #include "twotransfomapping.h"
18 typedef unsigned ShootIdType;
26 typedef std::map<const CcdImage*, CountedRef<TwoTransfoMapping> > mappingMapType;
27 mappingMapType _mappings;
28 typedef std::map<unsigned, CountedRef<SimpleGtransfoMapping> > chipMapType;
30 typedef std::map<ShootIdType, CountedRef<SimpleGtransfoMapping> > shootMapType;
31 shootMapType _shootMap;
33 bool _fittingChips, _fittingShoots;
48 unsigned AssignIndices(
unsigned FirstIndex, std::string &WhatToFit);
60 {
return _sky2TP->Sky2TP(M,C);}
virtual class needed in the abstraction of the distortion model
Definition: mapping.h:13
void DumpT2Transfos() const
just a printout for now
Definition: constrainedpolymodel.cc:148
unsigned AssignIndices(unsigned FirstIndex, std::string &WhatToFit)
Positions the various parameter sets into the parameter vector, starting at FirstIndex.
Definition: constrainedpolymodel.cc:93
handler of an actual image from a single CCD
Definition: ccdimage.h:21
Interface class between AstromFit and an actual model for the Mapping (s) from pixels to some tangent...
Definition: distortionmodel.h:13
void OffsetParams(const Eigen::VectorXd &Delta)
Offset the parameters by the provided amounts.
Definition: constrainedpolymodel.cc:130
const Mapping * GetMapping(const CcdImage &) const
Mapping associated to a given CcdImage.
Definition: constrainedpolymodel.cc:83
This is a virtual class that allows a lot of freedom in the choice of the projection from "Sky" (wher...
Definition: projectionhandler.h:13
This is the model used to fit mappings as the combination of a transformation depending on the chip n...
Definition: constrainedpolymodel.h:22
const Gtransfo * Sky2TP(const Mapping *M, const CcdImage &C) const
Definition: constrainedpolymodel.h:59