lsst.jointcal
14.0-14-g932474c+8
|
#include <SimplePolyMapping.h>
Public Member Functions | |
SimpleGtransfoMapping (Gtransfo const >ransfo, bool toFit=true) | |
SimpleGtransfoMapping (SimpleGtransfoMapping const &)=delete | |
No copy or move: there is only ever one instance of a given mapping (i.e.. per ccd+visit) More... | |
SimpleGtransfoMapping (SimpleGtransfoMapping &&)=delete | |
SimpleGtransfoMapping & | operator= (SimpleGtransfoMapping const &)=delete |
SimpleGtransfoMapping & | operator= (SimpleGtransfoMapping &&)=delete |
virtual void | freezeErrorScales () |
unsigned | getNpar () const |
Number of parameters in total. More... | |
void | getMappingIndices (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 (FatPoint const &where, FatPoint &outPoint) const |
The same as above but without the parameter derivatives (used to evaluate chi^2) More... | |
void | positionDerivative (Point const &where, Eigen::Matrix2d &derivative, double epsilon) const |
The derivative w.r.t. position. More... | |
void | offsetParams (Eigen::VectorXd const &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 (FatPoint const &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const |
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters. More... | |
virtual Gtransfo const & | getTransfo () const |
Access to the (fitted) transfo. More... | |
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 21 of file SimplePolyMapping.h.
|
delete |
No copy or move: there is only ever one instance of a given mapping (i.e.. per ccd+visit)
|
delete |
|
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 90 of file SimplePolyMapping.h.
|
inlinevirtual |
Definition at line 35 of file SimplePolyMapping.h.
|
inline |
position of the parameters within the grand fitting scheme
Definition at line 85 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 51 of file SimplePolyMapping.h.
|
inlinevirtual |
Number of parameters in total.
Implements lsst::jointcal::Mapping.
Definition at line 43 of file SimplePolyMapping.h.
|
inlinevirtual |
Access to the (fitted) transfo.
Reimplemented in lsst::jointcal::SimplePolyMapping.
Definition at line 97 of file SimplePolyMapping.h.
|
inlinevirtual |
Remember the error scale and freeze it.
Implements lsst::jointcal::Mapping.
Definition at line 82 of file SimplePolyMapping.h.
|
delete |
|
delete |
|
inlinevirtual |
The derivative w.r.t. position.
Implements lsst::jointcal::Mapping.
Reimplemented in lsst::jointcal::SimplePolyMapping.
Definition at line 67 of file SimplePolyMapping.h.
|
inline |
Definition at line 88 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 57 of file SimplePolyMapping.h.
|
protected |
Definition at line 106 of file SimplePolyMapping.h.
|
protected |
Definition at line 101 of file SimplePolyMapping.h.
|
protected |
Definition at line 109 of file SimplePolyMapping.h.
|
protected |
Definition at line 100 of file SimplePolyMapping.h.
|
protected |
Definition at line 104 of file SimplePolyMapping.h.