lsst.jointcal
16.0-15-g8e16a51+12
|
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 15 of file TwoTransfoMapping.h.
lsst::jointcal::TwoTransfoMapping::TwoTransfoMapping | ( | std::shared_ptr< SimpleGtransfoMapping > | chipMapping, |
std::shared_ptr< SimpleGtransfoMapping > | visitMapping | ||
) |
Definition at line 9 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 38 of file TwoTransfoMapping.cc.
void lsst::jointcal::TwoTransfoMapping::freezeErrorTransform | ( | ) |
Currently not implemented.
Definition at line 95 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 21 of file TwoTransfoMapping.cc.
|
virtual |
Number of parameters in total.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 19 of file TwoTransfoMapping.cc.
|
inline |
access to transfos
Definition at line 49 of file TwoTransfoMapping.h.
|
inline |
access to transfos
Definition at line 52 of file TwoTransfoMapping.h.
|
inlinevirtual |
Remember the error scale and freeze it.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 43 of file TwoTransfoMapping.h.
|
delete |
|
delete |
|
virtual |
Currently not implemented.
Implements lsst::jointcal::AstrometryMapping.
Definition at line 83 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 77 of file TwoTransfoMapping.cc.
|
friend |
Definition at line 61 of file TwoTransfoMapping.h.