Class SimpleAstrometryMapping¶
Defined in File SimpleAstrometryMapping.h
Inheritance Relationships¶
Base Type¶
public lsst::jointcal::AstrometryMapping(Class AstrometryMapping)
Derived Type¶
public lsst::jointcal::SimplePolyMapping(Class SimplePolyMapping)
Class Documentation¶
-
class
SimpleAstrometryMapping: public lsst::jointcal::AstrometryMapping Subclassed by lsst::jointcal::SimplePolyMapping
Public Functions
-
SimpleAstrometryMapping(AstrometryTransform const &astrometryTransform, bool toBeFit = true)¶
-
SimpleAstrometryMapping(SimpleAstrometryMapping const&)¶ No copy or move: there is only ever one instance of a given mapping (i.e.. per ccd+visit)
-
SimpleAstrometryMapping(SimpleAstrometryMapping&&)¶
-
SimpleAstrometryMapping &
operator=(SimpleAstrometryMapping const&)¶
-
SimpleAstrometryMapping &
operator=(SimpleAstrometryMapping&&)¶
-
virtual void
freezeErrorTransform()¶
-
void
getMappingIndices(IndexVector &indices) const¶ Sets how this set of parameters (of length Npar()) map into the “grand” fit Expects that indices has enough space reserved.
-
void
transformPosAndErrors(FatPoint const &where, FatPoint &outPoint) const¶ The same as above but without the parameter derivatives (used to evaluate chi^2)
-
void
positionDerivative(Point const &where, Eigen::Matrix2d &derivative, double epsilon) const¶ The derivative w.r.t. position.
-
void
offsetParams(Eigen::VectorXd const &delta)¶ Remember the error scale and freeze it.
-
Eigen::Index
getIndex() const¶ position of the parameters within the grand fitting scheme
-
void
setIndex(Eigen::Index 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.
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 AstrometryTransform const &
getTransform() const¶ Access to the (fitted) transform.
-
bool
getToBeFit() const¶ Get whether this mapping is fit as part of a Model.
-
void
setToBeFit(bool value)¶ Set whether this Mapping is to be fit as part of a Model.
Protected Attributes
-
bool
toBeFit¶
-
Eigen::Index
index¶
-
std::shared_ptr<AstrometryTransform>
transform¶
-
std::shared_ptr<AstrometryTransform>
errorProp¶
-
std::unique_ptr<AstrometryTransformLinear>
lin¶
-