gastro  0.1.0
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
Mapping Class Referenceabstract

virtual class needed in the abstraction of the distortion model More...

#include <mapping.h>

Inheritance diagram for Mapping:
SimpleGtransfoMapping TwoTransfoMapping

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.
 

Detailed Description

virtual class needed in the abstraction of the distortion model

Member Function Documentation

virtual void Mapping::ComputeTransformAndDerivatives ( const FatPoint &  Where,
FatPoint &  OutPos,
Eigen::MatrixX2d &  H 
) const
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.


The documentation for this class was generated from the following file: