#include <SimpleAstrometryMapping.h>
Definition at line 42 of file SimpleAstrometryMapping.h.
◆ SimpleAstrometryMapping() [1/3]
lsst::jointcal::SimpleAstrometryMapping::SimpleAstrometryMapping |
( |
AstrometryTransform const & |
astrometryTransform, |
|
|
bool |
toBeFit = true |
|
) |
| |
|
inline |
Definition at line 44 of file SimpleAstrometryMapping.h.
48 lin(
new AstrometryTransformLinear) {
std::shared_ptr< AstrometryTransform > transform
std::unique_ptr< AstrometryTransformLinear > lin
std::shared_ptr< AstrometryTransform > errorProp
◆ SimpleAstrometryMapping() [2/3]
No copy or move: there is only ever one instance of a given mapping (i.e.. per ccd+visit)
◆ SimpleAstrometryMapping() [3/3]
◆ computeTransformAndDerivatives()
virtual void lsst::jointcal::SimpleAstrometryMapping::computeTransformAndDerivatives |
( |
FatPoint const & |
where, |
|
|
FatPoint & |
outPoint, |
|
|
Eigen::MatrixX2d & |
H |
|
) |
| const |
|
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.
121 transform->paramDerivatives(where, &H(0, 0), &H(0, 1));
void transformPosAndErrors(FatPoint const &where, FatPoint &outPoint) const
The same as above but without the parameter derivatives (used to evaluate chi^2)
◆ freezeErrorTransform()
virtual void lsst::jointcal::SimpleAstrometryMapping::freezeErrorTransform |
( |
| ) |
|
|
inlinevirtual |
◆ getIndex()
Eigen::Index lsst::jointcal::SimpleAstrometryMapping::getIndex |
( |
| ) |
const |
|
inline |
◆ getMappingIndices()
void lsst::jointcal::SimpleAstrometryMapping::getMappingIndices |
( |
IndexVector & |
indices | ) |
const |
|
inlinevirtual |
◆ getNpar()
std::size_t lsst::jointcal::SimpleAstrometryMapping::getNpar |
( |
| ) |
const |
|
inlinevirtual |
◆ getToBeFit()
bool lsst::jointcal::SimpleAstrometryMapping::getToBeFit |
( |
| ) |
const |
|
inline |
◆ getTransform()
virtual AstrometryTransform const& lsst::jointcal::SimpleAstrometryMapping::getTransform |
( |
| ) |
const |
|
inlinevirtual |
◆ offsetParams()
void lsst::jointcal::SimpleAstrometryMapping::offsetParams |
( |
Eigen::VectorXd const & |
delta | ) |
|
|
inlinevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ positionDerivative()
void lsst::jointcal::SimpleAstrometryMapping::positionDerivative |
( |
Point const & |
where, |
|
|
Eigen::Matrix2d & |
derivative, |
|
|
double |
epsilon |
|
) |
| const |
|
inlinevirtual |
The derivative w.r.t. position.
Implements lsst::jointcal::AstrometryMapping.
Reimplemented in lsst::jointcal::SimplePolyMapping.
Definition at line 93 of file SimpleAstrometryMapping.h.
95 derivative(0, 0) =
lin->coeff(1, 0, 0);
102 derivative(1, 0) =
lin->coeff(0, 1, 0);
103 derivative(0, 1) =
lin->coeff(1, 0, 1);
104 derivative(1, 1) =
lin->coeff(0, 1, 1);
std::unique_ptr< AstrometryTransformLinear > lin
std::shared_ptr< AstrometryTransform > errorProp
◆ setIndex()
void lsst::jointcal::SimpleAstrometryMapping::setIndex |
( |
Eigen::Index |
i | ) |
|
|
inline |
◆ setToBeFit()
void lsst::jointcal::SimpleAstrometryMapping::setToBeFit |
( |
bool |
value | ) |
|
|
inline |
◆ transformPosAndErrors()
void lsst::jointcal::SimpleAstrometryMapping::transformPosAndErrors |
( |
FatPoint const & |
where, |
|
|
FatPoint & |
outPoint |
|
) |
| const |
|
inlinevirtual |
◆ errorProp
◆ index
Eigen::Index lsst::jointcal::SimpleAstrometryMapping::index |
|
protected |
◆ lin
◆ toBeFit
bool lsst::jointcal::SimpleAstrometryMapping::toBeFit |
|
protected |
◆ transform
The documentation for this class was generated from the following file: