lsst.jointcal  master-gc935ebf72c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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(const CcdImage &) const = 0;
25 
28  virtual unsigned assignIndices(unsigned firstIndex, const std::string &whatToFit) = 0;
29 
31 
33  virtual void offsetParams(const Eigen::VectorXd &delta) = 0;
34 
36 
38  virtual const Gtransfo *getSky2TP(const CcdImage &ccdImage) const = 0;
39 
41  virtual std::shared_ptr<TanSipPix2RaDec> produceSipWcs(const CcdImage &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 class needed in the abstraction of the distortion model
Definition: Mapping.h:15
Interface class between AstrometryFit and an actual model for the Mapping (s) from pixels to some tan...
virtual std::shared_ptr< TanSipPix2RaDec > produceSipWcs(const CcdImage &ccdImage) const =0
Cook up a SIP WCS.
virtual const Gtransfo * getSky2TP(const CcdImage &ccdImage) const =0
The transformation used to project the positions of FittedStars.
virtual const Mapping * getMapping(const CcdImage &) const =0
Mapping associated to a given CcdImage.
virtual void freezeErrorScales()=0
a virtual (interface) class for geometric transformations.
Definition: Gtransfo.h:37
Handler of an actual image from a single CCD.
Definition: CcdImage.h:31
virtual unsigned assignIndices(unsigned firstIndex, const std::string &whatToFit)=0
Assign indices to parameters involved in mappings, starting at firstIndex.
virtual void offsetParams(const Eigen::VectorXd &delta)=0
Offset the parameters by the provided amounts.