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
|
#include <SimpleAstrometryMapping.h>
Public Member Functions | |
SimpleAstrometryMapping (AstrometryTransform const &astrometryTransform, bool toBeFit=true) | |
SimpleAstrometryMapping (SimpleAstrometryMapping const &)=delete | |
No copy or move: there is only ever one instance of a given mapping (i.e.. per ccd+visit) More... | |
SimpleAstrometryMapping (SimpleAstrometryMapping &&)=delete | |
SimpleAstrometryMapping & | operator= (SimpleAstrometryMapping const &)=delete |
SimpleAstrometryMapping & | operator= (SimpleAstrometryMapping &&)=delete |
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 | transformPosAndErrors (FatPoint const &where, FatPoint &outPoint) const |
The same as above but without the parameter derivatives (used to evaluate chi^2) More... | |
void | positionDerivative (Point const &where, Eigen::Matrix2d &derivative, double epsilon) const |
The derivative w.r.t. position. 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) |
virtual void | computeTransformAndDerivatives (FatPoint const &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const |
Actually applies the AstrometryMapping and evaluates the derivatives w.r.t the fitted parameters. More... | |
virtual AstrometryTransform const & | getTransform () const |
Access to the (fitted) transform. More... | |
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 |
Definition at line 42 of file SimpleAstrometryMapping.h.
|
inline |
Definition at line 44 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 |
Actually applies the AstrometryMapping and evaluates the derivatives w.r.t the fitted parameters.
This is grouped into a single call because for most models, evaluating the derivatives w.r.T parameters is not much longer than just transforming
Implements lsst::jointcal::AstrometryMapping.
Reimplemented in lsst::jointcal::SimplePolyMapping.
Definition at line 118 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
Definition at line 61 of file SimpleAstrometryMapping.h.
|
inline |
position of the parameters within the grand fitting scheme
Definition at line 113 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
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.
|
inlinevirtual |
Number of parameters in total.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 69 of file SimpleAstrometryMapping.h.
|
inline |
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 in lsst::jointcal::SimplePolyMapping.
Definition at line 125 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
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.
Implements lsst::jointcal::AstrometryMapping.
Reimplemented in lsst::jointcal::SimplePolyMapping.
Definition at line 93 of file SimpleAstrometryMapping.h.
|
inline |
Definition at line 116 of file SimpleAstrometryMapping.h.
|
inline |
Set whether this Mapping is to be fit as part of a Model.
Definition at line 130 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
The same as above but without the parameter derivatives (used to evaluate chi^2)
Implements lsst::jointcal::AstrometryMapping.
Reimplemented in lsst::jointcal::SimplePolyMapping.
Definition at line 83 of file SimpleAstrometryMapping.h.
|
protected |
Definition at line 140 of file SimpleAstrometryMapping.h.
|
protected |
Definition at line 135 of file SimpleAstrometryMapping.h.
|
protected |
Definition at line 143 of file SimpleAstrometryMapping.h.
|
protected |
Definition at line 134 of file SimpleAstrometryMapping.h.
|
protected |
Definition at line 138 of file SimpleAstrometryMapping.h.