lsst.jointcal  15.0-12-gd965ca7+2
Public Member Functions | Protected Member Functions | List of all members
lsst::jointcal::AstrometryModel Class Referenceabstract

Interface class between AstrometryFit and an actual model for the Mapping (s) from pixels to some tangent plane (aka distortions). More...

#include <AstrometryModel.h>

Inheritance diagram for lsst::jointcal::AstrometryModel:
lsst::jointcal::ConstrainedAstrometryModel lsst::jointcal::SimpleAstrometryModel

Public Member Functions

int getNpar (CcdImage const &ccdImage) const
 Return the number of parameters in the mapping of CcdImage. More...
 
virtual const AstrometryMappinggetMapping (CcdImage const &) const =0
 Mapping associated to a given CcdImage. More...
 
virtual unsigned assignIndices (std::string const &whatToFit, unsigned firstIndex)=0
 Assign indices to parameters involved in mappings, starting at firstIndex. More...
 
virtual void offsetParams (Eigen::VectorXd const &delta)=0
 Offset the parameters by the provided amounts. More...
 
virtual const std::shared_ptr< Gtransfo const > getSky2TP (CcdImage const &ccdImage) const =0
 The transformation used to project the positions of FittedStars. More...
 
virtual std::shared_ptr< afw::geom::SkyWcsmakeSkyWcs (CcdImage const &ccdImage) const =0
 Make a SkyWcs that contains this model. More...
 
virtual void freezeErrorTransform ()=0
 
virtual ~AstrometryModel ()
 

Protected Member Functions

virtual AstrometryMappingfindMapping (CcdImage const &ccdImage) const =0
 Return a pointer to the mapping associated with this ccdImage. More...
 

Detailed Description

Interface class between AstrometryFit and an actual model for the Mapping (s) from pixels to some tangent plane (aka distortions).

Definition at line 21 of file AstrometryModel.h.

Constructor & Destructor Documentation

◆ ~AstrometryModel()

virtual lsst::jointcal::AstrometryModel::~AstrometryModel ( )
inlinevirtual

Definition at line 55 of file AstrometryModel.h.

Member Function Documentation

◆ assignIndices()

virtual unsigned lsst::jointcal::AstrometryModel::assignIndices ( std::string const &  whatToFit,
unsigned  firstIndex 
)
pure virtual

Assign indices to parameters involved in mappings, starting at firstIndex.

Returns the highest assigned index.

Implemented in lsst::jointcal::ConstrainedAstrometryModel, and lsst::jointcal::SimpleAstrometryModel.

◆ findMapping()

virtual AstrometryMapping* lsst::jointcal::AstrometryModel::findMapping ( CcdImage const &  ccdImage) const
protectedpure virtual

Return a pointer to the mapping associated with this ccdImage.

◆ freezeErrorTransform()

virtual void lsst::jointcal::AstrometryModel::freezeErrorTransform ( )
pure virtual

◆ getMapping()

virtual const AstrometryMapping* lsst::jointcal::AstrometryModel::getMapping ( CcdImage const &  ) const
pure virtual

◆ getNpar()

int lsst::jointcal::AstrometryModel::getNpar ( CcdImage const &  ccdImage) const
inline

Return the number of parameters in the mapping of CcdImage.

Definition at line 24 of file AstrometryModel.h.

◆ getSky2TP()

virtual const std::shared_ptr<Gtransfo const> lsst::jointcal::AstrometryModel::getSky2TP ( CcdImage const &  ccdImage) const
pure virtual

The transformation used to project the positions of FittedStars.

This defines the coordinate system into which the Mapping of this Ccdimage maps the pixel coordinates.

Implemented in lsst::jointcal::ConstrainedAstrometryModel, and lsst::jointcal::SimpleAstrometryModel.

◆ makeSkyWcs()

virtual std::shared_ptr<afw::geom::SkyWcs> lsst::jointcal::AstrometryModel::makeSkyWcs ( CcdImage const &  ccdImage) const
pure virtual

Make a SkyWcs that contains this model.

Parameters
ccdImageThe exposure to create the SkyWcs for.
Returns
SkyWcs containing this model.

Implemented in lsst::jointcal::ConstrainedAstrometryModel, and lsst::jointcal::SimpleAstrometryModel.

◆ offsetParams()

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

Offset the parameters by the provided amounts.

The shifts are applied according to the indices given in AssignIndices.

Implemented in lsst::jointcal::ConstrainedAstrometryModel, and lsst::jointcal::SimpleAstrometryModel.


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