2 #ifndef LSST_JOINTCAL_SIMPLE_POLY_MODEL_H 3 #define LSST_JOINTCAL_SIMPLE_POLY_MODEL_H 30 typedef std::map<const CcdImage *, std::unique_ptr<SimpleGtransfoMapping>> mapType;
37 bool initFromWCS,
unsigned nNotFit = 0,
unsigned degree = 3);
50 unsigned assignIndices(
unsigned firstIndex, std::string
const &whatToFit);
73 #endif // LSST_JOINTCAL_SIMPLE_POLY_MODEL_H this is the model used to fit independent CCDs, meaning that there is no instrument model...
virtual class needed in the abstraction of the distortion model
const Gtransfo * getSky2TP(CcdImage const &ccdImage) const
the mapping of sky coordinates (i.e.
Interface class between AstrometryFit and an actual model for the Mapping (s) from pixels to some tan...
virtual const Gtransfo * getSky2TP(const CcdImage &ccdImage) const =0
SimplePolyModel & operator=(SimplePolyModel const &)=delete
Gtransfo const & getTransfo(CcdImage const &ccdImage) const
Access to mappings.
unsigned assignIndices(unsigned firstIndex, std::string const &whatToFit)
Positions the various parameter sets into the parameter vector, starting at firstIndex.
Class for a simple mapping implementing a generic Gtransfo.
SimplePolyModel(CcdImageList const &ccdImageList, ProjectionHandler const *projectionHandler, bool initFromWCS, unsigned nNotFit=0, unsigned degree=3)
Sky2TP is just a name, it can be anything.
virtual void freezeErrorScales()
This is a virtual class that allows a lot of freedom in the choice of the projection from "Sky" (wher...
void offsetParams(Eigen::VectorXd const &delta)
Offset the parameters by the provided amounts.
const Mapping * getMapping(CcdImage const &) const
Mapping associated to a given CcdImage.
a virtual (interface) class for geometric transformations.
std::shared_ptr< TanSipPix2RaDec > produceSipWcs(CcdImage const &ccdImage) const
Cook up a SIP WCS.
std::list< std::shared_ptr< CcdImage > > CcdImageList
Handler of an actual image from a single CCD.