2 #ifndef LSST_JOINTCAL_MAPPING_H
3 #define LSST_JOINTCAL_MAPPING_H
18 virtual unsigned getNpar()
const = 0;
40 double epsilon)
const = 0;
47 #endif // LSST_JOINTCAL_MAPPING_H
virtual void transformPosAndErrors(const FatPoint &where, FatPoint &outPoint) const =0
The same as above but without the parameter derivatives (used to evaluate chi^2)
virtual void setMappingIndices(std::vector< unsigned > &indices) const =0
Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has ...
virtual void positionDerivative(const Point &where, Eigen::Matrix2d &derivative, double epsilon) const =0
The derivative w.r.t. position.
virtual class needed in the abstraction of the distortion model
A Point with uncertainties.
Eigen::Matrix< double, Eigen::Dynamic, 2 > MatrixX2d
virtual unsigned getNpar() const =0
Number of parameters in total.
virtual void offsetParams(const double *delta)=0
Remember the error scale and freeze it.
virtual void computeTransformAndDerivatives(const FatPoint &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const =0
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters.