lsst.jointcal
master-g9041cab851+13
|
Mapping implementation for a polynomial transformation. More...
#include <SimplePolyMapping.h>
Public Member Functions | |
~SimplePolyMapping () | |
SimplePolyMapping (GtransfoLin const &CenterAndScale, GtransfoPoly const >ransfo) | |
The transformation will be initialized to gtransfo, so that the effective transformation reads gtransfo*CenterAndScale. More... | |
SimplePolyMapping (SimplePolyMapping const &)=delete | |
No copy or move: there is only ever one instance of a given mapping (i.e.. per ccd+visit) More... | |
SimplePolyMapping (SimplePolyMapping &&)=delete | |
SimplePolyMapping & | operator= (SimplePolyMapping const &)=delete |
SimplePolyMapping & | operator= (SimplePolyMapping &&)=delete |
void | positionDerivative (Point const &where, Eigen::Matrix2d &derivative, double epsilon) const |
The derivative w.r.t. position. More... | |
virtual void | computeTransformAndDerivatives (FatPoint const &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const |
Calls the transforms and implements the centering and scaling of coordinates. More... | |
void | transformPosAndErrors (FatPoint const &where, FatPoint &outPoint) const |
Implements as well the centering and scaling of coordinates. More... | |
Gtransfo const & | getTransfo () const |
Access to the (fitted) transfo. More... | |
![]() | |
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 | 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 (double 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 | ~Mapping () |
Additional Inherited Members | |
![]() | |
bool | toFit |
unsigned | index |
std::shared_ptr< Gtransfo > | transfo |
std::shared_ptr< Gtransfo > | errorProp |
std::unique_ptr< GtransfoLin > | lin |
Mapping implementation for a polynomial transformation.
Definition at line 113 of file SimplePolyMapping.h.
|
inline |
Definition at line 124 of file SimplePolyMapping.h.
|
inline |
The transformation will be initialized to gtransfo, so that the effective transformation reads gtransfo*CenterAndScale.
Definition at line 129 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 |
Calls the transforms and implements the centering and scaling of coordinates.
Reimplemented from lsst::jointcal::SimpleGtransfoMapping.
Definition at line 174 of file SimplePolyMapping.h.
|
inlinevirtual |
Access to the (fitted) transfo.
Reimplemented from lsst::jointcal::SimpleGtransfoMapping.
Definition at line 200 of file SimplePolyMapping.h.
|
delete |
|
delete |
|
inlinevirtual |
The derivative w.r.t. position.
Reimplemented from lsst::jointcal::SimpleGtransfoMapping.
Definition at line 154 of file SimplePolyMapping.h.
|
inlinevirtual |
Implements as well the centering and scaling of coordinates.
Reimplemented from lsst::jointcal::SimpleGtransfoMapping.
Definition at line 188 of file SimplePolyMapping.h.