2 #ifndef LSST_JOINTCAL_TWO_TRANSFO_MAPPING_H
3 #define LSST_JOINTCAL_TWO_TRANSFO_MAPPING_H
17 unsigned _nPar1, _nPar2;
21 Eigen::Matrix2d dt2dx;
24 std::unique_ptr<tmpVars> tmp;
64 void setWhatToFit(
const bool fittingT1,
const bool fittingT2);
69 #endif // LSST_JOINTCAL_TWO_TRANSFO_MAPPING_H
virtual class needed in the abstraction of the distortion model
const Gtransfo & getTransfo2() const
access to transfos
The mapping with two transfos in a row.
void offsetParams(const double *delta)
Remember the error scale and freeze it.
unsigned getNpar() const
Number of parameters in total.
void offsetParams(const double *delta)
Remember the error scale and freeze it.
A Point with uncertainties.
virtual const Gtransfo & getTransfo() const
Access to the (fitted) transfo.
const Gtransfo & getTransfo1() const
access to transfos
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.
unsigned getNpar() const
Number of parameters in total.
Eigen::Matrix< double, Eigen::Dynamic, 2 > MatrixX2d
void positionDerivative(const Point &where, Eigen::Matrix2d &derivative, double epsilon) const
Currently not implemented.
void transformPosAndErrors(const FatPoint &where, FatPoint &outPoint) const
The same as above but without the parameter derivatives (used to evaluate chi^2)
a virtual (interface) class for geometric transformations.
void computeTransformAndDerivatives(const FatPoint &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters.