lsst.jointcal
master-gc935ebf72c+13
|
#include <SimplePolyMapping.h>
Public Member Functions | |
SimpleGtransfoMapping (const Gtransfo >ransfo, 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 | transformPosAndErrors (const FatPoint &where, FatPoint &outPoint) const |
The same as above but without the parameter derivatives (used to evaluate chi^2) More... | |
void | positionDerivative (const Point &where, Eigen::Matrix2d &derivative, double epsilon) const |
The derivative w.r.t. position. 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) |
virtual void | computeTransformAndDerivatives (const FatPoint &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const |
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters. More... | |
virtual const Gtransfo & | getTransfo () const |
Access to the (fitted) transfo. More... | |
![]() | |
virtual | ~Mapping () |
Protected Attributes | |
bool | toFit |
unsigned | index |
std::shared_ptr< Gtransfo > | transfo |
std::shared_ptr< Gtransfo > | errorProp |
std::unique_ptr< GtransfoLin > | lin |
Definition at line 19 of file SimplePolyMapping.h.
|
inline |
Definition at line 33 of file SimplePolyMapping.h.
|
inlinevirtual |
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 lsst::jointcal::Mapping.
Reimplemented in lsst::jointcal::SimplePolyMapping.
Definition at line 96 of file SimplePolyMapping.h.
|
inlinevirtual |
Definition at line 41 of file SimplePolyMapping.h.
|
inline |
position of the parameters within the grand fitting scheme
Definition at line 91 of file SimplePolyMapping.h.
|
inlinevirtual |
Number of parameters in total.
Implements lsst::jointcal::Mapping.
Definition at line 49 of file SimplePolyMapping.h.
|
inlinevirtual |
Access to the (fitted) transfo.
Reimplemented in lsst::jointcal::SimplePolyMapping.
Definition at line 103 of file SimplePolyMapping.h.
|
inlinevirtual |
Remember the error scale and freeze it.
Implements lsst::jointcal::Mapping.
Definition at line 88 of file SimplePolyMapping.h.
|
inlinevirtual |
The derivative w.r.t. position.
Implements lsst::jointcal::Mapping.
Reimplemented in lsst::jointcal::SimplePolyMapping.
Definition at line 73 of file SimplePolyMapping.h.
|
inline |
Definition at line 94 of file SimplePolyMapping.h.
|
inlinevirtual |
Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has enough space reserved.
Implements lsst::jointcal::Mapping.
Definition at line 57 of file SimplePolyMapping.h.
|
inlinevirtual |
The same as above but without the parameter derivatives (used to evaluate chi^2)
Implements lsst::jointcal::Mapping.
Reimplemented in lsst::jointcal::SimplePolyMapping.
Definition at line 63 of file SimplePolyMapping.h.
|
protected |
Definition at line 27 of file SimplePolyMapping.h.
|
protected |
Definition at line 22 of file SimplePolyMapping.h.
|
protected |
Definition at line 30 of file SimplePolyMapping.h.
|
protected |
Definition at line 21 of file SimplePolyMapping.h.
|
protected |
Definition at line 25 of file SimplePolyMapping.h.