LSST Applications g1653933729+a8ce1bb630,g171997e3ee+76e92115be,g1a997c3884+a8ce1bb630,g28da252d5a+4013ff5194,g2bbee38e9b+d6d0f9f6ae,g2bc492864f+d6d0f9f6ae,g2cdde0e794+ccb74358b7,g3156d2b45e+07302053f8,g347aa1857d+d6d0f9f6ae,g35bb328faa+a8ce1bb630,g3a166c0a6a+d6d0f9f6ae,g3e281a1b8c+130fae20e3,g4005a62e65+17cd334064,g414038480c+c9f68e2a12,g41af890bb2+3e1f62f438,g4e1a3235cc+9db7d56ad0,g7b55021d1b+7b623691d5,g80478fca09+334cc8d2bd,g82479be7b0+b568f6b267,g858d7b2824+37b39d8760,g9125e01d80+a8ce1bb630,ga5288a1d22+11cb34fefe,gae0086650b+a8ce1bb630,gb4ec7eb0ab+37b39d8760,gb58c049af0+d64f4d3760,gc081298178+284e133171,gc28159a63d+d6d0f9f6ae,gcf0d15dbbd+00fe2e0b07,gd6b7c0dfd1+8b62435e69,gda3e153d99+37b39d8760,gda6a2b7d83+00fe2e0b07,gdaeeff99f8+1711a396fd,gdd5a9049c5+23f3b3239a,ge2409df99d+5d9f551a54,ge33fd446bb+37b39d8760,ge79ae78c31+d6d0f9f6ae,gf0baf85859+2dea8344a2,gf5289d68f6+3777f3df5e,w.2024.41
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lsst::jointcal::AstrometryMapping Class Referenceabstract

virtual class needed in the abstraction of the distortion model More...

#include <AstrometryMapping.h>

Inheritance diagram for lsst::jointcal::AstrometryMapping:
lsst::jointcal::ChipVisitAstrometryMapping lsst::jointcal::SimpleAstrometryMapping lsst::jointcal::SimplePolyMapping

Public Member 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.
 
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 void print (std::ostream &out) const =0
 Print a string representation of the contents of this mapping, for debugging.
 
virtual ~AstrometryMapping ()=default
 

Detailed Description

virtual class needed in the abstraction of the distortion model

Definition at line 39 of file AstrometryMapping.h.

Constructor & Destructor Documentation

◆ ~AstrometryMapping()

virtual lsst::jointcal::AstrometryMapping::~AstrometryMapping ( )
virtualdefault

Member Function Documentation

◆ computeTransformAndDerivatives()

virtual void lsst::jointcal::AstrometryMapping::computeTransformAndDerivatives ( FatPoint const & where,
FatPoint & outPoint,
Eigen::MatrixX2d & H ) const
pure virtual

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

Implemented in lsst::jointcal::ChipVisitAstrometryMapping, lsst::jointcal::SimpleAstrometryMapping, and lsst::jointcal::SimplePolyMapping.

◆ getMappingIndices()

virtual void lsst::jointcal::AstrometryMapping::getMappingIndices ( IndexVector & indices) const
pure virtual

Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has enough space reserved.

Implemented in lsst::jointcal::ChipVisitAstrometryMapping, and lsst::jointcal::SimpleAstrometryMapping.

◆ getNpar()

virtual std::size_t lsst::jointcal::AstrometryMapping::getNpar ( ) const
pure virtual

Number of parameters in total.

Implemented in lsst::jointcal::ChipVisitAstrometryMapping, and lsst::jointcal::SimpleAstrometryMapping.

◆ offsetParams()

virtual void lsst::jointcal::AstrometryMapping::offsetParams ( Eigen::VectorXd const & delta)
pure virtual

Remember the error scale and freeze it.

Implemented in lsst::jointcal::ChipVisitAstrometryMapping, and lsst::jointcal::SimpleAstrometryMapping.

◆ positionDerivative()

virtual void lsst::jointcal::AstrometryMapping::positionDerivative ( Point const & where,
Eigen::Matrix2d & derivative,
double epsilon ) const
pure virtual

◆ print()

virtual void lsst::jointcal::AstrometryMapping::print ( std::ostream & out) const
pure virtual

Print a string representation of the contents of this mapping, for debugging.

This string representation can be very verbose, as it contains all of the parameters of all of the transforms in this mapping.

Implemented in lsst::jointcal::ChipVisitAstrometryMapping, and lsst::jointcal::SimpleAstrometryMapping.

◆ transformPosAndErrors()

virtual void lsst::jointcal::AstrometryMapping::transformPosAndErrors ( FatPoint const & where,
FatPoint & outPoint ) const
pure virtual

The same as above but without the parameter derivatives (used to evaluate chi^2)

Implemented in lsst::jointcal::ChipVisitAstrometryMapping, lsst::jointcal::SimpleAstrometryMapping, and lsst::jointcal::SimplePolyMapping.


The documentation for this class was generated from the following file: