LSSTApplications
18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
LSSTDataManagementBasePackage
|
Mapping implementation for a polynomial transformation. More...
#include <SimpleAstrometryMapping.h>
Public Member Functions | |
~SimplePolyMapping () | |
SimplePolyMapping (AstrometryTransformLinear const &CenterAndScale, AstrometryTransformPolynomial const &transform) | |
The transformation will be initialized to transform, so that the effective transformation reads transform*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... | |
AstrometryTransform const & | getTransform () const |
Access to the (fitted) transform. More... | |
virtual void | freezeErrorTransform () |
std::size_t | getNpar () const |
Number of parameters in total. More... | |
void | getMappingIndices (IndexVector &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... | |
Eigen::Index | getIndex () const |
position of the parameters within the grand fitting scheme More... | |
void | setIndex (Eigen::Index 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 |
Eigen::Index | index |
std::shared_ptr< AstrometryTransform > | transform |
std::shared_ptr< AstrometryTransform > | errorProp |
std::unique_ptr< AstrometryTransformLinear > | lin |
Mapping implementation for a polynomial transformation.
Definition at line 147 of file SimpleAstrometryMapping.h.
|
inline |
Definition at line 149 of file SimpleAstrometryMapping.h.
|
inline |
The transformation will be initialized to transform, so that the effective transformation reads transform*CenterAndScale.
Definition at line 154 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::SimpleAstrometryMapping.
Definition at line 200 of file SimpleAstrometryMapping.h.
|
inlinevirtualinherited |
Definition at line 61 of file SimpleAstrometryMapping.h.
|
inlineinherited |
position of the parameters within the grand fitting scheme
Definition at line 113 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 77 of file SimpleAstrometryMapping.h.
|
inlinevirtualinherited |
Number of parameters in total.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 69 of file SimpleAstrometryMapping.h.
|
inlineinherited |
Get whether this mapping is fit as part of a Model.
Definition at line 128 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
Access to the (fitted) transform.
Reimplemented from lsst::jointcal::SimpleAstrometryMapping.
Definition at line 226 of file SimpleAstrometryMapping.h.
|
inlinevirtualinherited |
Remember the error scale and freeze it.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 108 of file SimpleAstrometryMapping.h.
|
delete |
|
delete |
|
inlinevirtual |
The derivative w.r.t. position.
Reimplemented from lsst::jointcal::SimpleAstrometryMapping.
Definition at line 180 of file SimpleAstrometryMapping.h.
|
inlineinherited |
Definition at line 116 of file SimpleAstrometryMapping.h.
|
inlineinherited |
Set whether this Mapping is to be fit as part of a Model.
Definition at line 130 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
Implements as well the centering and scaling of coordinates.
Reimplemented from lsst::jointcal::SimpleAstrometryMapping.
Definition at line 214 of file SimpleAstrometryMapping.h.
|
protectedinherited |
Definition at line 140 of file SimpleAstrometryMapping.h.
|
protectedinherited |
Definition at line 135 of file SimpleAstrometryMapping.h.
|
protectedinherited |
Definition at line 143 of file SimpleAstrometryMapping.h.
|
protectedinherited |
Definition at line 134 of file SimpleAstrometryMapping.h.
|
protectedinherited |
Definition at line 138 of file SimpleAstrometryMapping.h.