lsst.jointcal  master-g52a623bc1f+3
Public Member Functions | List of all members
lsst::jointcal::ConstrainedPolyModel Class Reference

This is the model used to fit mappings as the combination of a transformation depending on the chip number (instrument model) and a transformation per visit (anamorphism). More...

#include <ConstrainedPolyModel.h>

Inheritance diagram for lsst::jointcal::ConstrainedPolyModel:
lsst::jointcal::AstrometryModel

Public Member Functions

 ConstrainedPolyModel (CcdImageList const &ccdImageList, ProjectionHandler const *projectionHandler, bool initFromWCS, unsigned nNotFit=0)
 
 ConstrainedPolyModel (ConstrainedPolyModel const &)=delete
 No copy or move: there is only ever one instance of a given model (i.e. per ccd+visit) More...
 
 ConstrainedPolyModel (ConstrainedPolyModel &&)=delete
 
ConstrainedPolyModeloperator= (ConstrainedPolyModel const &)=delete
 
ConstrainedPolyModeloperator= (ConstrainedPolyModel &&)=delete
 
Mapping const * getMapping (CcdImage const &) const
 Mapping associated to a given CcdImage. More...
 
unsigned assignIndices (unsigned firstIndex, std::string const &whatToFit)
 Positions the various parameter sets into the parameter vector, starting at firstIndex. More...
 
void offsetParams (Eigen::VectorXd const &Delta)
 Dispaches the offsets after a fit step into the actual locations of parameters. More...
 
void freezeErrorScales ()
 From there on, measurement errors are propagated using the current transfos (and no longer evolve). More...
 
Gtransfo const & getChipTransfo (CcdIdType const chip) const
 Access to mappings. More...
 
Gtransfo const & getVisitTransfo (VisitIdType const &visit) const
 Access to mappings. More...
 
std::vector< VisitIdTypegetVisits () const
 Access to array of visits involved in the solution. More...
 
const GtransfogetSky2TP (CcdImage const &ccdImage) const
 The mapping of sky coordinates (i.e. More...
 
std::shared_ptr< TanSipPix2RaDecproduceSipWcs (CcdImage const &ccdImage) const
 Cook up a SIP WCS. More...
 

Detailed Description

This is the model used to fit mappings as the combination of a transformation depending on the chip number (instrument model) and a transformation per visit (anamorphism).

The two-transformation Mapping required for this model is TwoTransfoMapping. This modeling of distortions is meant for set of images from a single mosaic imager.

Definition at line 31 of file ConstrainedPolyModel.h.

Constructor & Destructor Documentation

◆ ConstrainedPolyModel() [1/3]

lsst::jointcal::ConstrainedPolyModel::ConstrainedPolyModel ( CcdImageList const &  ccdImageList,
ProjectionHandler const *  projectionHandler,
bool  initFromWCS,
unsigned  nNotFit = 0 
)

Definition at line 34 of file ConstrainedPolyModel.cc.

◆ ConstrainedPolyModel() [2/3]

lsst::jointcal::ConstrainedPolyModel::ConstrainedPolyModel ( ConstrainedPolyModel const &  )
delete

No copy or move: there is only ever one instance of a given model (i.e. per ccd+visit)

◆ ConstrainedPolyModel() [3/3]

lsst::jointcal::ConstrainedPolyModel::ConstrainedPolyModel ( ConstrainedPolyModel &&  )
delete

Member Function Documentation

◆ assignIndices()

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

Positions the various parameter sets into the parameter vector, starting at firstIndex.

This routine decodes "DistortionsChip" and "DistortionsVisit" in whatToFit.

If whatToFit contains "Distortions" and not Distortions<Something>, it is understood as both chips and visits.

Implements lsst::jointcal::AstrometryModel.

Definition at line 101 of file ConstrainedPolyModel.cc.

◆ freezeErrorScales()

void lsst::jointcal::ConstrainedPolyModel::freezeErrorScales ( )
virtual

From there on, measurement errors are propagated using the current transfos (and no longer evolve).

Implements lsst::jointcal::AstrometryModel.

Definition at line 146 of file ConstrainedPolyModel.cc.

◆ getChipTransfo()

const Gtransfo & lsst::jointcal::ConstrainedPolyModel::getChipTransfo ( CcdIdType const  chip) const

Access to mappings.

Definition at line 151 of file ConstrainedPolyModel.cc.

◆ getMapping()

const Mapping * lsst::jointcal::ConstrainedPolyModel::getMapping ( CcdImage const &  ) const
virtual

Mapping associated to a given CcdImage.

Implements lsst::jointcal::AstrometryModel.

Definition at line 91 of file ConstrainedPolyModel.cc.

◆ getSky2TP()

const Gtransfo* lsst::jointcal::ConstrainedPolyModel::getSky2TP ( CcdImage const &  ccdImage) const
inlinevirtual

The mapping of sky coordinates (i.e.

the coordinate system in which fitted stars are reported) onto the Tangent plane (into which the pixel coordinates are transformed).

Implements lsst::jointcal::AstrometryModel.

Definition at line 90 of file ConstrainedPolyModel.h.

◆ getVisits()

std::vector< VisitIdType > lsst::jointcal::ConstrainedPolyModel::getVisits ( ) const

Access to array of visits involved in the solution.

Definition at line 162 of file ConstrainedPolyModel.cc.

◆ getVisitTransfo()

const Gtransfo & lsst::jointcal::ConstrainedPolyModel::getVisitTransfo ( VisitIdType const &  visit) const

Access to mappings.

Definition at line 169 of file ConstrainedPolyModel.cc.

◆ offsetParams()

void lsst::jointcal::ConstrainedPolyModel::offsetParams ( Eigen::VectorXd const &  Delta)
virtual

Dispaches the offsets after a fit step into the actual locations of parameters.

Implements lsst::jointcal::AstrometryModel.

Definition at line 131 of file ConstrainedPolyModel.cc.

◆ operator=() [1/2]

ConstrainedPolyModel& lsst::jointcal::ConstrainedPolyModel::operator= ( ConstrainedPolyModel const &  )
delete

◆ operator=() [2/2]

ConstrainedPolyModel& lsst::jointcal::ConstrainedPolyModel::operator= ( ConstrainedPolyModel &&  )
delete

◆ produceSipWcs()

std::shared_ptr< TanSipPix2RaDec > lsst::jointcal::ConstrainedPolyModel::produceSipWcs ( CcdImage const &  ccdImage) const
virtual

Cook up a SIP WCS.

Implements lsst::jointcal::AstrometryModel.

Definition at line 179 of file ConstrainedPolyModel.cc.


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