2 #ifndef LSST_JOINTCAL_TWO_TRANSFO_MAPPING_H
3 #define LSST_JOINTCAL_TWO_TRANSFO_MAPPING_H
18 unsigned _nPar1, _nPar2;
22 Eigen::Matrix2d dt2dx;
25 std::unique_ptr<tmpVars> tmp;
68 void setWhatToFit(
const bool fittingT1,
const bool fittingT2);
73 #endif // LSST_JOINTCAL_TWO_TRANSFO_MAPPING_H
virtual Gtransfo const & getTransfo() const
Access to the (fitted) transfo.
void computeTransformAndDerivatives(FatPoint const &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters.
TwoTransfoMapping(SimpleGtransfoMapping *chipMapping, SimpleGtransfoMapping *visitMapping)
virtual class needed in the abstraction of the distortion model
Gtransfo const & getTransfo1() const
access to transfos
Gtransfo const & getTransfo2() const
access to transfos
The mapping with two transfos in a row.
unsigned getNpar() const
Number of parameters in total.
A Point with uncertainties.
void offsetParams(double const *delta)
Remember the error scale and freeze it.
This is the model used to fit mappings as the combination of a transformation depending on the chip n...
void setMappingIndices(std::vector< unsigned > &indices) const
Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has ...
void freezeErrorScales()
Currently not implemented.
void transformPosAndErrors(FatPoint const &where, FatPoint &outPoint) const
The same as above but without the parameter derivatives (used to evaluate chi^2)
unsigned getNpar() const
Number of parameters in total.
Eigen::Matrix< double, Eigen::Dynamic, 2 > MatrixX2d
a virtual (interface) class for geometric transformations.
TwoTransfoMapping & operator=(TwoTransfoMapping const &)=delete
void offsetParams(double const *delta)
Remember the error scale and freeze it.
void positionDerivative(Point const &where, Eigen::Matrix2d &derivative, double epsilon) const
Currently not implemented.