LSSTApplications
16.0-10-g4f78f78+16,16.0-10-gc1446dd+42,16.0-11-g09ed895+1,16.0-13-g7649090,16.0-14-g0a28612+1,16.0-14-g6c7ed55+16,16.0-15-ga29f190+1,16.0-16-g89065d4+14,16.0-16-gd8e3590+16,16.0-16-ge6a35c8+6,16.0-17-g7e0e4ff+10,16.0-17-ga3d2e9f,16.0-19-gb830ed4e+16,16.0-2-g0febb12+21,16.0-2-g9d5294e+61,16.0-2-ga8830df+5,16.0-24-gc1c7f52+9,16.0-25-g07af9f2+1,16.0-3-ge00e371+21,16.0-36-g07840cb1,16.0-4-g18f3627+5,16.0-4-g5f3a788+20,16.0-4-ga3eb747+10,16.0-4-gabf74b7+16,16.0-4-gade8416+9,16.0-4-gb13d127+5,16.0-5-g6a53317+21,16.0-5-gb3f8a4b+74,16.0-5-gef99c9f+12,16.0-6-g9321be7+4,16.0-6-gcbc7b31+22,16.0-6-gf49912c+16,16.0-63-gae20905ba,16.0-7-gd2eeba5+31,16.0-8-g21fd5fe+16,16.0-8-g3a9f023+12,16.0-8-g4734f7a,16.0-9-g85d1a16+16,16.0-9-gf5c1f43,master-g07ce7b41a7,w.2018.48
LSSTDataManagementBasePackage
|
#include <SimpleAstrometryMapping.h>
Public Member Functions | |
SimpleGtransfoMapping (Gtransfo const >ransfo, bool toBeFit=true) | |
SimpleGtransfoMapping (SimpleGtransfoMapping const &)=delete | |
No copy or move: there is only ever one instance of a given mapping (i.e.. per ccd+visit) More... | |
SimpleGtransfoMapping (SimpleGtransfoMapping &&)=delete | |
SimpleGtransfoMapping & | operator= (SimpleGtransfoMapping const &)=delete |
SimpleGtransfoMapping & | operator= (SimpleGtransfoMapping &&)=delete |
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 | 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... | |
unsigned | getIndex () const |
position of the parameters within the grand fitting scheme More... | |
void | setIndex (unsigned 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 Gtransfo const & | getTransfo () const |
Access to the (fitted) transfo. 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 |
unsigned | index |
std::shared_ptr< Gtransfo > | transfo |
std::shared_ptr< Gtransfo > | errorProp |
std::unique_ptr< GtransfoLin > | 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 115 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
Definition at line 58 of file SimpleAstrometryMapping.h.
|
inline |
position of the parameters within the grand fitting scheme
Definition at line 110 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 74 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
Number of parameters in total.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 66 of file SimpleAstrometryMapping.h.
|
inline |
Get whether this mapping is fit as part of a Model.
Definition at line 125 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
Access to the (fitted) transfo.
Reimplemented in lsst::jointcal::SimplePolyMapping.
Definition at line 122 of file SimpleAstrometryMapping.h.
|
inlinevirtual |
Remember the error scale and freeze it.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 105 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 90 of file SimpleAstrometryMapping.h.
|
inline |
Definition at line 113 of file SimpleAstrometryMapping.h.
|
inline |
Set whether this Mapping is to be fit as part of a Model.
Definition at line 127 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 80 of file SimpleAstrometryMapping.h.
|
protected |
Definition at line 137 of file SimpleAstrometryMapping.h.
|
protected |
Definition at line 132 of file SimpleAstrometryMapping.h.
|
protected |
Definition at line 140 of file SimpleAstrometryMapping.h.
|
protected |
Definition at line 131 of file SimpleAstrometryMapping.h.
|
protected |
Definition at line 135 of file SimpleAstrometryMapping.h.