lsst.jointcal  master-gc935ebf72c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 (const CcdImageList &ccdImageList, const ProjectionHandler *projectionHandler, bool initFromWCS, unsigned nNotFit=0)
 
const MappinggetMapping (const CcdImage &) const
 Mapping associated to a given CcdImage. More...
 
unsigned assignIndices (unsigned firstIndex, const std::string &whatToFit)
 Positions the various parameter sets into the parameter vector, starting at firstIndex. More...
 
void offsetParams (const Eigen::VectorXd &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...
 
const GtransfogetChipTransfo (const CcdIdType chip) const
 Access to mappings. More...
 
const GtransfogetVisitTransfo (const VisitIdType &visit) const
 Access to mappings. More...
 
std::vector< VisitIdTypegetVisits () const
 Access to array of visits involved in the solution. More...
 
const GtransfogetSky2TP (const CcdImage &ccdImage) const
 The mapping of sky coordinates (i.e. More...
 
std::shared_ptr< TanSipPix2RaDecproduceSipWcs (const CcdImage &ccdImage) const
 Cook up a SIP WCS. More...
 
- Public Member Functions inherited from lsst::jointcal::AstrometryModel
virtual ~AstrometryModel ()
 

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

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

Definition at line 34 of file ConstrainedPolyModel.cc.

Member Function Documentation

unsigned lsst::jointcal::ConstrainedPolyModel::assignIndices ( unsigned  firstIndex,
const std::string &  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.

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.

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

Access to mappings.

Definition at line 151 of file ConstrainedPolyModel.cc.

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

Mapping associated to a given CcdImage.

Implements lsst::jointcal::AstrometryModel.

Definition at line 91 of file ConstrainedPolyModel.cc.

const Gtransfo* lsst::jointcal::ConstrainedPolyModel::getSky2TP ( const CcdImage 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 83 of file ConstrainedPolyModel.h.

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.

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

Access to mappings.

Definition at line 169 of file ConstrainedPolyModel.cc.

void lsst::jointcal::ConstrainedPolyModel::offsetParams ( const Eigen::VectorXd &  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.

std::shared_ptr< TanSipPix2RaDec > lsst::jointcal::ConstrainedPolyModel::produceSipWcs ( const CcdImage 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: