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
|
The mapping with two transfos in a row. More...
#include <TwoTransfoMapping.h>
Public Member Functions | |
TwoTransfoMapping (std::shared_ptr< SimpleGtransfoMapping > chipMapping, std::shared_ptr< SimpleGtransfoMapping > visitMapping) | |
TwoTransfoMapping (TwoTransfoMapping const &)=delete | |
No copy or move: there is only ever one instance of a given model (i.e.. per ccd+visit) More... | |
TwoTransfoMapping (TwoTransfoMapping &&)=delete | |
TwoTransfoMapping & | operator= (TwoTransfoMapping const &)=delete |
TwoTransfoMapping & | operator= (TwoTransfoMapping &&)=delete |
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 | 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... | |
void | transformPosAndErrors (FatPoint const &where, FatPoint &outPoint) const |
The same as above but without the parameter derivatives (used to evaluate chi^2) More... | |
void | offsetParams (Eigen::VectorXd const &delta) |
Remember the error scale and freeze it. More... | |
Gtransfo const & | getTransfo1 () const |
access to transfos More... | |
Gtransfo const & | getTransfo2 () const |
access to transfos More... | |
void | positionDerivative (Point const &where, Eigen::Matrix2d &derivative, double epsilon) const |
Currently not implemented. More... | |
void | freezeErrorTransform () |
Currently not implemented. More... | |
Friends | |
class | ConstrainedAstrometryModel |
The mapping with two transfos in a row.
Definition at line 38 of file TwoTransfoMapping.h.
lsst::jointcal::TwoTransfoMapping::TwoTransfoMapping | ( | std::shared_ptr< SimpleGtransfoMapping > | chipMapping, |
std::shared_ptr< SimpleGtransfoMapping > | visitMapping | ||
) |
Definition at line 33 of file TwoTransfoMapping.cc.
|
delete |
No copy or move: there is only ever one instance of a given model (i.e.. per ccd+visit)
|
delete |
|
virtual |
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.
Definition at line 62 of file TwoTransfoMapping.cc.
void lsst::jointcal::TwoTransfoMapping::freezeErrorTransform | ( | ) |
Currently not implemented.
Definition at line 119 of file TwoTransfoMapping.cc.
|
virtual |
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 45 of file TwoTransfoMapping.cc.
|
virtual |
Number of parameters in total.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 43 of file TwoTransfoMapping.cc.
|
inline |
access to transfos
Definition at line 72 of file TwoTransfoMapping.h.
|
inline |
access to transfos
Definition at line 75 of file TwoTransfoMapping.h.
|
inlinevirtual |
Remember the error scale and freeze it.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 66 of file TwoTransfoMapping.h.
|
delete |
|
delete |
|
virtual |
Currently not implemented.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 107 of file TwoTransfoMapping.cc.
|
virtual |
The same as above but without the parameter derivatives (used to evaluate chi^2)
Implements lsst::jointcal::AstrometryMapping.
Definition at line 101 of file TwoTransfoMapping.cc.
|
friend |
Definition at line 84 of file TwoTransfoMapping.h.