lsst.jointcal
15.0-6-ge2d9597+1
|
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 (CcdImageList const &ccdImageList, ProjectionHandler const *projectionHandler, bool initFromWCS, unsigned nNotFit=0, int chipDegree=3, int visitDegree=2) | |
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 | |
ConstrainedPolyModel & | operator= (ConstrainedPolyModel const &)=delete |
ConstrainedPolyModel & | operator= (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 | freezeErrorTransform () |
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< VisitIdType > | getVisits () const |
Access to array of visits involved in the solution. More... | |
const Gtransfo * | getSky2TP (CcdImage const &ccdImage) const |
The mapping of sky coordinates (i.e. More... | |
std::shared_ptr< TanSipPix2RaDec > | produceSipWcs (CcdImage const &ccdImage) const |
Cook up a SIP WCS. More... | |
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 a set of images from a single mosaic imager.
Definition at line 31 of file ConstrainedPolyModel.h.
lsst::jointcal::ConstrainedPolyModel::ConstrainedPolyModel | ( | CcdImageList const & | ccdImageList, |
ProjectionHandler const * | projectionHandler, | ||
bool | initFromWCS, | ||
unsigned | nNotFit = 0 , |
||
int | chipDegree = 3 , |
||
int | visitDegree = 2 |
||
) |
Definition at line 30 of file ConstrainedPolyModel.cc.
|
delete |
No copy or move: there is only ever one instance of a given model (i.e. per ccd+visit)
|
delete |
|
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 98 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 141 of file ConstrainedPolyModel.cc.
Access to mappings.
Definition at line 146 of file ConstrainedPolyModel.cc.
Mapping associated to a given CcdImage.
Implements lsst::jointcal::AstrometryModel.
Definition at line 88 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 78 of file ConstrainedPolyModel.h.
std::vector< VisitIdType > lsst::jointcal::ConstrainedPolyModel::getVisits | ( | ) | const |
Access to array of visits involved in the solution.
Definition at line 157 of file ConstrainedPolyModel.cc.
const Gtransfo & lsst::jointcal::ConstrainedPolyModel::getVisitTransfo | ( | VisitIdType const & | visit | ) | const |
Access to mappings.
Definition at line 164 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 128 of file ConstrainedPolyModel.cc.
|
delete |
|
delete |
|
virtual |
Cook up a SIP WCS.
Implements lsst::jointcal::AstrometryModel.
Definition at line 174 of file ConstrainedPolyModel.cc.