1 #ifndef SIMPLEPOLYMODEL__H
2 #define SIMPLEPOLYMODEL__H
4 #include "eigenstuff.h"
8 #include "distortionmodel.h"
10 #include "simplepolymapping.h"
11 #include "projectionhandler.h"
29 typedef std::map<const CcdImage*, CountedRef<SimpleGtransfoMapping> > mapType;
46 unsigned AssignIndices(
unsigned FirstIndex, std::string &WhatToFit);
55 {
return _sky2TP->Sky2TP(M,C);}
const Mapping * GetMapping(const CcdImage &) const
Mapping associated to a given CcdImage.
Definition: simplepolymodel.cc:49
virtual class needed in the abstraction of the distortion model
Definition: mapping.h:13
SimplePolyModel(const CcdImageList &L, const ProjectionHandler *ProjH, bool InitFromWCS, unsigned NNotFit=0)
Sky2TP is just a name, it can be anything.
Definition: simplepolymodel.cc:14
unsigned AssignIndices(unsigned FirstIndex, std::string &WhatToFit)
Positions the various parameter sets into the parameter vector, starting at FirstIndex.
Definition: simplepolymodel.cc:56
const Gtransfo * Sky2TP(const Mapping *M, const CcdImage &C) const
Definition: simplepolymodel.h:54
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
this is the model used to fit independent CCDs, meaning that there is no instrument model...
Definition: simplepolymodel.h:25
void OffsetParams(const Eigen::VectorXd &Delta)
Offset the parameters by the provided amounts.
Definition: simplepolymodel.cc:74
This is a virtual class that allows a lot of freedom in the choice of the projection from "Sky" (wher...
Definition: projectionhandler.h:13