lsst.jointcal  14.0-14-g932474c+11
AstrometryModel.h
Go to the documentation of this file.
1 // -*- LSST-C++ -*-
2 #ifndef LSST_JOINTCAL_ASTROMETRY_MODEL_H
3 #define LSST_JOINTCAL_ASTROMETRY_MODEL_H
4 
5 #include "memory"
6 
10 
11 namespace lsst {
12 namespace jointcal {
13 
14 class CcdImage;
15 class Gtransfo;
16 
19 /* For an implementation example, see SimplePolyModel, and the comments at
20 the top of simplepolymodel.h */
22 public:
24  virtual const Mapping *getMapping(CcdImage const &) const = 0;
25 
28  virtual unsigned assignIndices(unsigned firstIndex, std::string const &whatToFit) = 0;
29 
31 
33  virtual void offsetParams(Eigen::VectorXd const &delta) = 0;
34 
36 
38  virtual const Gtransfo *getSky2TP(CcdImage const &ccdImage) const = 0;
39 
41  virtual std::shared_ptr<TanSipPix2RaDec> produceSipWcs(CcdImage const &ccdImage) const = 0;
42 
44  virtual void freezeErrorScales() = 0;
45 
46  virtual ~AstrometryModel(){};
47 };
48 } // namespace jointcal
49 } // namespace lsst
50 
51 #endif // LSST_JOINTCAL_ASTROMETRY_MODEL_H
virtual unsigned assignIndices(unsigned firstIndex, std::string const &whatToFit)=0
Assign indices to parameters involved in mappings, starting at firstIndex.
virtual class needed in the abstraction of the distortion model
Definition: Mapping.h:15
virtual void offsetParams(Eigen::VectorXd const &delta)=0
Offset the parameters by the provided amounts.
Interface class between AstrometryFit and an actual model for the Mapping (s) from pixels to some tan...
virtual const Mapping * getMapping(CcdImage const &) const =0
Mapping associated to a given CcdImage.
STL class.
Class for a simple mapping implementing a generic Gtransfo.
virtual void freezeErrorScales()=0
a virtual (interface) class for geometric transformations.
Definition: Gtransfo.h:39
virtual const Gtransfo * getSky2TP(CcdImage const &ccdImage) const =0
The transformation used to project the positions of FittedStars.
Handler of an actual image from a single CCD.
Definition: CcdImage.h:34
virtual std::shared_ptr< TanSipPix2RaDec > produceSipWcs(CcdImage const &ccdImage) const =0
Cook up a SIP WCS.