Class AstrometryMapping¶
Defined in File AstrometryMapping.h
Inheritance Relationships¶
Derived Types¶
public lsst::jointcal::ChipVisitAstrometryMapping
(Class ChipVisitAstrometryMapping)public lsst::jointcal::SimpleAstrometryMapping
(Class SimpleAstrometryMapping)
Class Documentation¶
-
class
AstrometryMapping
¶ virtual class needed in the abstraction of the distortion model
Subclassed by lsst::jointcal::ChipVisitAstrometryMapping, lsst::jointcal::SimpleAstrometryMapping
Public Functions
-
virtual std::size_t
getNpar
() const = 0¶ Number of parameters in total.
-
virtual void
getMappingIndices
(IndexVector &indices) const = 0¶ Sets how this set of parameters (of length Npar()) map into the “grand” fit Expects that indices has enough space reserved.
-
virtual void
computeTransformAndDerivatives
(FatPoint const &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const = 0¶ 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
-
virtual void
transformPosAndErrors
(FatPoint const &where, FatPoint &outPoint) const = 0¶ The same as above but without the parameter derivatives (used to evaluate chi^2)
-
virtual void
offsetParams
(Eigen::VectorXd const &delta) = 0¶ Remember the error scale and freeze it.
-
virtual void
positionDerivative
(Point const &where, Eigen::Matrix2d &derivative, double epsilon) const = 0¶ The derivative w.r.t. position.
-
virtual
~AstrometryMapping
()¶
-
virtual std::size_t