lsst.jointcal  master-gc935ebf72c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
lsst::jointcal::SimplePolyMapping Class Reference

Mapping implementation for a polynomial transformation. More...

#include <SimplePolyMapping.h>

Inheritance diagram for lsst::jointcal::SimplePolyMapping:
lsst::jointcal::SimpleGtransfoMapping lsst::jointcal::Mapping

Public Member Functions

 ~SimplePolyMapping ()
 
 SimplePolyMapping (const GtransfoLin &CenterAndScale, const GtransfoPoly &gtransfo)
 The transformation will be initialized to gtransfo, so that the effective transformation reads gtransfo*CenterAndScale. More...
 
void positionDerivative (const Point &where, Eigen::Matrix2d &derivative, double epsilon) const
 The derivative w.r.t. position. More...
 
virtual void computeTransformAndDerivatives (const FatPoint &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const
 Calls the transforms and implements the centering and scaling of coordinates. More...
 
void transformPosAndErrors (const FatPoint &where, FatPoint &outPoint) const
 Implements as well the centering and scaling of coordinates. More...
 
const GtransfogetTransfo () const
 Access to the (fitted) transfo. More...
 
- Public Member Functions inherited from lsst::jointcal::SimpleGtransfoMapping
 SimpleGtransfoMapping (const Gtransfo &gtransfo, bool toFit=true)
 
virtual void freezeErrorScales ()
 
unsigned getNpar () const
 Number of parameters in total. More...
 
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 enough space reserved. More...
 
void offsetParams (const double *delta)
 Remember the error scale and freeze it. More...
 
unsigned getIndex () const
 position of the parameters within the grand fitting scheme More...
 
void setIndex (unsigned i)
 
- Public Member Functions inherited from lsst::jointcal::Mapping
virtual ~Mapping ()
 

Additional Inherited Members

- Protected Attributes inherited from lsst::jointcal::SimpleGtransfoMapping
bool toFit
 
unsigned index
 
std::shared_ptr< Gtransfotransfo
 
std::shared_ptr< GtransfoerrorProp
 
std::unique_ptr< GtransfoLinlin
 

Detailed Description

Mapping implementation for a polynomial transformation.

Definition at line 107 of file SimplePolyMapping.h.

Constructor & Destructor Documentation

lsst::jointcal::SimplePolyMapping::~SimplePolyMapping ( )
inline

Definition at line 118 of file SimplePolyMapping.h.

lsst::jointcal::SimplePolyMapping::SimplePolyMapping ( const GtransfoLin CenterAndScale,
const GtransfoPoly gtransfo 
)
inline

The transformation will be initialized to gtransfo, so that the effective transformation reads gtransfo*CenterAndScale.

Definition at line 123 of file SimplePolyMapping.h.

Member Function Documentation

virtual void lsst::jointcal::SimplePolyMapping::computeTransformAndDerivatives ( const FatPoint where,
FatPoint outPoint,
Eigen::MatrixX2d H 
) const
inlinevirtual

Calls the transforms and implements the centering and scaling of coordinates.

Reimplemented from lsst::jointcal::SimpleGtransfoMapping.

Definition at line 162 of file SimplePolyMapping.h.

const Gtransfo& lsst::jointcal::SimplePolyMapping::getTransfo ( ) const
inlinevirtual

Access to the (fitted) transfo.

Reimplemented from lsst::jointcal::SimpleGtransfoMapping.

Definition at line 188 of file SimplePolyMapping.h.

void lsst::jointcal::SimplePolyMapping::positionDerivative ( const Point where,
Eigen::Matrix2d &  derivative,
double  epsilon 
) const
inlinevirtual

The derivative w.r.t. position.

Reimplemented from lsst::jointcal::SimpleGtransfoMapping.

Definition at line 142 of file SimplePolyMapping.h.

void lsst::jointcal::SimplePolyMapping::transformPosAndErrors ( const FatPoint where,
FatPoint outPoint 
) const
inlinevirtual

Implements as well the centering and scaling of coordinates.

Reimplemented from lsst::jointcal::SimpleGtransfoMapping.

Definition at line 176 of file SimplePolyMapping.h.


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