lsst.jointcal
master-gc935ebf72c
|
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>
Public Member Functions | |
ConstrainedPolyModel (const CcdImageList &ccdImageList, const ProjectionHandler *projectionHandler, bool initFromWCS, unsigned nNotFit=0) | |
const Mapping * | getMapping (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 Gtransfo & | getChipTransfo (const CcdIdType chip) const |
Access to mappings. More... | |
const Gtransfo & | getVisitTransfo (const VisitIdType &visit) const |
Access to mappings. More... | |
std::vector< VisitIdType > | getVisits () const |
Access to array of visits involved in the solution. More... | |
const Gtransfo * | getSky2TP (const CcdImage &ccdImage) const |
The mapping of sky coordinates (i.e. More... | |
std::shared_ptr< TanSipPix2RaDec > | produceSipWcs (const CcdImage &ccdImage) const |
Cook up a SIP WCS. More... | |
![]() | |
virtual | ~AstrometryModel () |
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.
lsst::jointcal::ConstrainedPolyModel::ConstrainedPolyModel | ( | const CcdImageList & | ccdImageList, |
const ProjectionHandler * | projectionHandler, | ||
bool | initFromWCS, | ||
unsigned | nNotFit = 0 |
||
) |
Definition at line 34 of file ConstrainedPolyModel.cc.
|
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.
|
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.
Access to mappings.
Definition at line 151 of file ConstrainedPolyModel.cc.
Mapping associated to a given CcdImage.
Implements lsst::jointcal::AstrometryModel.
Definition at line 91 of file ConstrainedPolyModel.cc.
|
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.
|
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.
|
virtual |
Cook up a SIP WCS.
Implements lsst::jointcal::AstrometryModel.
Definition at line 179 of file ConstrainedPolyModel.cc.