LSSTApplications
17.0+11,17.0+34,17.0+56,17.0+57,17.0+59,17.0+7,17.0-1-g377950a+33,17.0.1-1-g114240f+2,17.0.1-1-g4d4fbc4+28,17.0.1-1-g55520dc+49,17.0.1-1-g5f4ed7e+52,17.0.1-1-g6dd7d69+17,17.0.1-1-g8de6c91+11,17.0.1-1-gb9095d2+7,17.0.1-1-ge9fec5e+5,17.0.1-1-gf4e0155+55,17.0.1-1-gfc65f5f+50,17.0.1-1-gfc6fb1f+20,17.0.1-10-g87f9f3f+1,17.0.1-11-ge9de802+16,17.0.1-16-ga14f7d5c+4,17.0.1-17-gc79d625+1,17.0.1-17-gdae4c4a+8,17.0.1-2-g26618f5+29,17.0.1-2-g54f2ebc+9,17.0.1-2-gf403422+1,17.0.1-20-g2ca2f74+6,17.0.1-23-gf3eadeb7+1,17.0.1-3-g7e86b59+39,17.0.1-3-gb5ca14a,17.0.1-3-gd08d533+40,17.0.1-30-g596af8797,17.0.1-4-g59d126d+4,17.0.1-4-gc69c472+5,17.0.1-6-g5afd9b9+4,17.0.1-7-g35889ee+1,17.0.1-7-gc7c8782+18,17.0.1-9-gc4bbfb2+3,w.2019.22
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.