lsst.jointcal
16.0-17-g0bdc215
|
Mapping implementation for a polynomial transformation. More...
#include <SimpleAstrometryMapping.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... | |
virtual void | freezeErrorTransform () |
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 | 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) |
bool | getToBeFit () const |
Get whether this mapping is fit as part of a Model. More... | |
void | setToBeFit (bool value) |
Set whether this Mapping is to be fit as part of a Model. More... | |
Protected Attributes | |
bool | toBeFit |
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 121 of file SimpleAstrometryMapping.h.
|
inline |
Definition at line 123 of file SimpleAstrometryMapping.h.
|
inline |
The transformation will be initialized to gtransfo, so that the effective transformation reads gtransfo*CenterAndScale.
Definition at line 128 of file SimpleAstrometryMapping.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 173 of file SimpleAstrometryMapping.h.
|
inlinevirtualinherited |
Definition at line 35 of file SimpleAstrometryMapping.h.
|
inlineinherited |
position of the parameters within the grand fitting scheme
Definition at line 87 of file SimpleAstrometryMapping.h.
|
inlinevirtualinherited |
Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has enough space reserved.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 51 of file SimpleAstrometryMapping.h.
|
inlinevirtualinherited |
Number of parameters in total.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 43 of file SimpleAstrometryMapping.h.
|
inlineinherited |
Get whether this mapping is fit as part of a Model.
Definition at line 102 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
Access to the (fitted) transfo.
Reimplemented from lsst::jointcal::SimpleGtransfoMapping.
Definition at line 199 of file SimpleAstrometryMapping.h.
|
inlinevirtualinherited |
Remember the error scale and freeze it.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 82 of file SimpleAstrometryMapping.h.
|
delete |
|
delete |
|
inlinevirtual |
The derivative w.r.t. position.
Reimplemented from lsst::jointcal::SimpleGtransfoMapping.
Definition at line 153 of file SimpleAstrometryMapping.h.
|
inlineinherited |
Definition at line 90 of file SimpleAstrometryMapping.h.
|
inlineinherited |
Set whether this Mapping is to be fit as part of a Model.
Definition at line 104 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
Implements as well the centering and scaling of coordinates.
Reimplemented from lsst::jointcal::SimpleGtransfoMapping.
Definition at line 187 of file SimpleAstrometryMapping.h.
|
protectedinherited |
Definition at line 114 of file SimpleAstrometryMapping.h.
|
protectedinherited |
Definition at line 109 of file SimpleAstrometryMapping.h.
|
protectedinherited |
Definition at line 117 of file SimpleAstrometryMapping.h.
|
protectedinherited |
Definition at line 108 of file SimpleAstrometryMapping.h.
|
protectedinherited |
Definition at line 112 of file SimpleAstrometryMapping.h.