LSSTApplications
17.0+124,17.0+14,17.0+73,18.0.0+37,18.0.0+80,18.0.0-4-g68ffd23+4,18.1.0-1-g0001055+12,18.1.0-1-g03d53ef+5,18.1.0-1-g1349e88+55,18.1.0-1-g2505f39+44,18.1.0-1-g5315e5e+4,18.1.0-1-g5e4b7ea+14,18.1.0-1-g7e8fceb+4,18.1.0-1-g85f8cd4+48,18.1.0-1-g8ff0b9f+4,18.1.0-1-ga2c679d+1,18.1.0-1-gd55f500+35,18.1.0-10-gb58edde+2,18.1.0-11-g0997b02+4,18.1.0-13-gfe4edf0b+12,18.1.0-14-g259bd21+21,18.1.0-19-gdb69f3f+2,18.1.0-2-g5f9922c+24,18.1.0-2-gd3b74e5+11,18.1.0-2-gfbf3545+32,18.1.0-26-g728bddb4+5,18.1.0-27-g6ff7ca9+2,18.1.0-3-g52aa583+25,18.1.0-3-g8ea57af+9,18.1.0-3-gb69f684+42,18.1.0-3-gfcaddf3+6,18.1.0-32-gd8786685a,18.1.0-4-gf3f9b77+6,18.1.0-5-g1dd662b+2,18.1.0-5-g6dbcb01+41,18.1.0-6-gae77429+3,18.1.0-7-g9d75d83+9,18.1.0-7-gae09a6d+30,18.1.0-9-gc381ef5+4,w.2019.45
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.