lsst.jointcal
19.0.0-13-g16625d3+10
|
Go to the documentation of this file.
25 #ifndef LSST_JOINTCAL_CHIP_VISIT_ASTROMETRY_MAPPING_H
26 #define LSST_JOINTCAL_CHIP_VISIT_ASTROMETRY_MAPPING_H
67 _m1->offsetParams(delta.segment(_m1->getIndex(), _m1->getNpar()));
68 _m2->offsetParams(delta.segment(_m2->getIndex() + _m1->getNpar(), _m2->getNpar()));
87 void setWhatToFit(
const bool fittingT1,
const bool fittingT2);
90 Eigen::Index _nPar1, _nPar2;
94 Eigen::Matrix2d dt2dx;
102 #endif // LSST_JOINTCAL_CHIP_VISIT_ASTROMETRY_MAPPING_H
void freezeErrorTransform()
Currently not implemented.
std::size_t getNpar() const override
Number of parameters in total.
ChipVisitAstrometryMapping & operator=(ChipVisitAstrometryMapping &&)=delete
AstrometryTransform const & getTransform2() const
access to transforms
void getMappingIndices(IndexVector &indices) const override
Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has ...
ChipVisitAstrometryMapping(ChipVisitAstrometryMapping const &)=delete
No copy or move: there is only ever one instance of a given model (i.e.. per ccd+visit)
Eigen::Matrix< double, Eigen::Dynamic, 2 > MatrixX2d
ChipVisitAstrometryMapping & operator=(ChipVisitAstrometryMapping const &)=delete
The mapping with two transforms in a row.
ChipVisitAstrometryMapping(std::shared_ptr< SimpleAstrometryMapping > chipMapping, std::shared_ptr< SimpleAstrometryMapping > visitMapping)
ChipVisitAstrometryMapping(ChipVisitAstrometryMapping &&)=delete
void print(std::ostream &out) const override
Print a string representation of the contents of this mapping, for debugging.
A Point with uncertainties.
void transformPosAndErrors(FatPoint const &where, FatPoint &outPoint) const override
The same as above but without the parameter derivatives (used to evaluate chi^2)
Class for a simple mapping implementing a generic AstrometryTransform.
void offsetParams(Eigen::VectorXd const &delta) override
Remember the error scale and freeze it.
void positionDerivative(Point const &where, Eigen::Matrix2d &derivative, double epsilon) const override
The derivative w.r.t. position.
AstrometryTransform const & getTransform1() const
access to transforms
virtual class needed in the abstraction of the distortion model
A multi-component model, fitting mappings for sensors and visits simultaneously.
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.