2 #ifndef LSST_JOINTCAL_PHOTOMETRY_MODEL_H
3 #define LSST_JOINTCAL_PHOTOMETRY_MODEL_H
29 virtual unsigned assignIndices(std::string
const &whatToFit,
unsigned firstIndex) = 0;
38 virtual void offsetParams(Eigen::VectorXd
const &delta) = 0;
54 return *(this->
findMapping(ccdImage,
"getMapping"));
73 Eigen::VectorXd &derivatives) = 0;
88 #endif // LSST_JOINTCAL_PHOTOMETRY_MODEL_H
virtual unsigned assignIndices(std::string const &whatToFit, unsigned firstIndex)=0
Assign indices to parameters involved in mappings, starting at firstIndex.
PhotometryMapping const & getMapping(CcdImage const &ccdImage) const
Get the mapping associated with ccdImage.
virtual void offsetParams(Eigen::VectorXd const &delta)=0
Offset the parameters by the provided amounts.
virtual void getMappingIndices(CcdImage const &ccdImage, std::vector< unsigned > &indices)=0
Get how this set of parameters (of length Npar()) map into the "grand" fit.
virtual PhotometryMapping * findMapping(CcdImage const &ccdImage, std::string name) const =0
Return a pointer to the mapping associated with this ccdImage. name is for describing error messages...
objects measured on actual images.
virtual double photomFactor(CcdImage const &ccdImage, Point const &where) const =0
Return the "photometric factor" at a given location on a ccdImage.
Interface class for PhotometryFit.
Handler of an actual image from a single CCD.
virtual void computeParameterDerivatives(MeasuredStar const &measuredStar, CcdImage const &ccdImage, Eigen::VectorXd &derivatives)=0
Compute the parametric derivatives of this model.
virtual ~PhotometryModel()