gastro  0.1.0
 All Classes Files Functions Variables Pages
Public Member Functions | Friends | List of all members
TwoTransfoMapping Class Reference

The mapping with two transfos in a row. More...

#include <twotransfomapping.h>

Inheritance diagram for TwoTransfoMapping:
Mapping

Public Member Functions

 TwoTransfoMapping (SimpleGtransfoMapping *ChipM, SimpleGtransfoMapping *ShootM)
 
unsigned Npar () const
 Mumber of parameters in total.
 
void GetMappingIndices (std::vector< unsigned > &Indices) const
 Provides for this parameter set (of length Npar()) how they map into the "grand" fit.
 
void ComputeTransformAndDerivatives (const FatPoint &Where, FatPoint &OutPos, Eigen::MatrixX2d &H) const
 Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters. More...
 
void TransformPosAndErrors (const FatPoint &Where, FatPoint &OutPos) const
 The same as above but without the parameter derivatives (used to evaluate chi^2)
 
const Gtransfo & T1 () const
 access to transfos
 
const Gtransfo & T2 () const
 access to transfos
 
void PosDerivative (Point &Where, Eigen::Matrix2d &Der, const double &Eps) const
 Currently not implemented.
 

Friends

class ConstrainedPolyModel
 

Detailed Description

The mapping with two transfos in a row.

Member Function Documentation

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

Implements Mapping.


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