lsst.jointcal  master-gc935ebf72c+13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PhotometryModel.h
Go to the documentation of this file.
1 // -*- LSST-C++ -*-
2 #ifndef LSST_JOINTCAL_PHOTOMETRY_MODEL_H
3 #define LSST_JOINTCAL_PHOTOMETRY_MODEL_H
4 
6 #include <string>
7 #include <vector>
8 
9 namespace lsst {
10 namespace jointcal {
11 
12 class CcdImage;
13 class Point;
14 class MeasuredStar;
15 
18 public:
27  virtual unsigned assignIndices(const std::string &whatToFit, unsigned firstIndex) = 0;
28 
36  virtual void offsetParams(const Eigen::VectorXd &delta) = 0;
37 
48  virtual double photomFactor(const CcdImage &ccdImage, const Point &where) const = 0;
49 
51  virtual void getIndicesAndDerivatives(const MeasuredStar &measuredStar, const CcdImage &ccdImage,
52  std::vector<unsigned> &indices, Eigen::VectorXd &D) = 0;
53 
54  virtual ~PhotometryModel(){};
55 };
56 } // namespace jointcal
57 } // namespace lsst
58 
59 #endif // LSST_JOINTCAL_PHOTOMETRY_MODEL_H
A point in a plane.
Definition: Point.h:13
virtual double photomFactor(const CcdImage &ccdImage, const Point &where) const =0
Return the &quot;photometric factor&quot; at a given location on a ccdImage.
virtual void offsetParams(const Eigen::VectorXd &delta)=0
Offset the parameters by the provided amounts.
objects measured on actual images.
Definition: MeasuredStar.h:18
virtual void getIndicesAndDerivatives(const MeasuredStar &measuredStar, const CcdImage &ccdImage, std::vector< unsigned > &indices, Eigen::VectorXd &D)=0
number of parameters to be read in indices.size()
Interface class for PhotometryFit.
virtual unsigned assignIndices(const std::string &whatToFit, unsigned firstIndex)=0
Assign indices to parameters involved in mappings, starting at firstIndex.
Handler of an actual image from a single CCD.
Definition: CcdImage.h:31