virtual class needed in the abstraction of the distortion model More...
#include <mapping.h>
Public Member Functions | |
virtual unsigned | Npar () const =0 |
Mumber of parameters in total. | |
virtual void | GetMappingIndices (std::vector< unsigned > &Indices) const =0 |
Provides for this parameter set (of length Npar()) how they map into the "grand" fit. | |
virtual void | ComputeTransformAndDerivatives (const FatPoint &Where, FatPoint &OutPos, Eigen::MatrixX2d &H) const =0 |
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters. More... | |
virtual void | TransformPosAndErrors (const FatPoint &Where, FatPoint &OutPos) const =0 |
The same as above but without the parameter derivatives (used to evaluate chi^2) | |
virtual void | PosDerivative (Point &Where, Eigen::Matrix2d &Der, const double &Eps) const =0 |
The derivative w.r.t. position. | |
virtual class needed in the abstraction of the distortion model
|
pure virtual |
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters.
This is grouped into a single call because for most models, evaluating the derivatives w.r.T parameters is not much longer than just transforming
Implemented in SimpleGtransfoMapping, and TwoTransfoMapping.