LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
25 #ifndef LSST_JOINTCAL_SIMPLE_ASTROMETRY_MAPPING_H
26 #define LSST_JOINTCAL_SIMPLE_ASTROMETRY_MAPPING_H
156 Eigen::Matrix2d preDer;
168 virtual void computeTransformAndDerivatives(
FatPoint const &where,
FatPoint &outPoint,
177 #endif // LSST_JOINTCAL_SIMPLE_ASTROMETRY_MAPPING_H
virtual void freezeErrorTransform()
SimpleAstrometryMapping & operator=(SimpleAstrometryMapping const &)=delete
SimpleAstrometryMapping(SimpleAstrometryMapping &&)=delete
SimplePolyMapping(SimplePolyMapping const &)=delete
No copy or move: there is only ever one instance of a given mapping (i.e.. per ccd+visit)
void positionDerivative(Point const &where, Eigen::Matrix2d &derivative, double epsilon) const override
The derivative w.r.t. position.
virtual AstrometryTransform const & getTransform() const
Access to the (fitted) transform.
SimplePolyMapping(SimplePolyMapping &&)=delete
SimpleAstrometryMapping(SimpleAstrometryMapping const &)=delete
No copy or move: there is only ever one instance of a given mapping (i.e.. per ccd+visit)
std::shared_ptr< AstrometryTransform > transform
Eigen::Matrix< double, Eigen::Dynamic, 2 > MatrixX2d
SimplePolyMapping & operator=(SimplePolyMapping const &)=delete
void positionDerivative(Point const &where, Eigen::Matrix2d &derivative, double epsilon) const override
The derivative w.r.t. position.
void offsetParams(Eigen::VectorXd const &delta) override
Remember the error scale and freeze it.
void transformPosAndErrors(FatPoint const &where, FatPoint &outPoint) const override
The same as above but without the parameter derivatives (used to evaluate chi^2)
AstrometryTransform const & getTransform() const override
Access to the (fitted) transform.
SimplePolyMapping(AstrometryTransformLinear const &CenterAndScale, AstrometryTransformPolynomial const &transform)
The transformation will be initialized to transform, so that the effective transformation reads trans...
void setToBeFit(bool value)
Set whether this Mapping is to be fit as part of a Model.
std::unique_ptr< AstrometryTransformLinear > lin
A Point with uncertainties.
void print(std::ostream &out) const override
Print a string representation of the contents of this mapping, for debugging.
void getMappingIndices(IndexVector &indices) const override
Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has ...
A base class for image defects.
void computeTransformAndDerivatives(FatPoint const &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const override
Calls the transforms and implements the centering and scaling of coordinates.
virtual void computeTransformAndDerivatives(FatPoint const &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const override
Actually applies the AstrometryMapping and evaluates the derivatives w.r.t the fitted parameters.
SimpleAstrometryMapping & operator=(SimpleAstrometryMapping &&)=delete
Mapping implementation for a polynomial transformation.
bool getToBeFit() const
Get whether this mapping is fit as part of a Model.
Eigen::Index getIndex() const
position of the parameters within the grand fitting scheme
virtual class needed in the abstraction of the distortion model
std::shared_ptr< AstrometryTransform > errorProp
std::size_t getNpar() const override
Number of parameters in total.
void transformPosAndErrors(FatPoint const &where, FatPoint &outPoint) const override
The same as above but without the parameter derivatives (used to evaluate chi^2)
void setIndex(Eigen::Index i)
Set the index of this mapping in the grand fit.
SimpleAstrometryMapping(AstrometryTransform const &astrometryTransform, bool toBeFit=true)
SimplePolyMapping & operator=(SimplePolyMapping &&)=delete