2 #ifndef LSST_JOINTCAL_SIMPLE_PHOTOMETRY_MODEL_H 3 #define LSST_JOINTCAL_SIMPLE_PHOTOMETRY_MODEL_H 39 unsigned assignIndices(std::string
const &whatToFit,
unsigned firstIndex)
override;
48 void offsetParams(Eigen::VectorXd
const &delta)
override;
65 Eigen::VectorXd &derivatives)
override;
68 typedef std::map<CcdImage const *, std::unique_ptr<PhotometryMapping>> MapType;
78 #endif // LSST_JOINTCAL_SIMPLE_PHOTOMETRY_MODEL_H
SimplePhotometryModel(CcdImageList const &ccdImageList)
Class for a simple mapping implementing a generic Gtransfo.
void computeParameterDerivatives(MeasuredStar const &measuredStar, CcdImage const &ccdImage, Eigen::VectorXd &derivatives) override
Compute the parametric derivatives of this model.
objects measured on actual images.
void getMappingIndices(CcdImage const &ccdImage, std::vector< unsigned > &indices) override
Get how this set of parameters (of length Npar()) map into the "grand" fit.
double photomFactor(CcdImage const &ccdImage, Point const &where=Point()) const override
Return the "photometric factor" for this ccdImage.
unsigned assignIndices(std::string const &whatToFit, unsigned firstIndex) override
Assign indices to parameters involved in mappings, starting at firstIndex.
void offsetParams(Eigen::VectorXd const &delta) override
Offset the parameters by the provided amounts.
Interface class for PhotometryFit.
std::list< std::shared_ptr< CcdImage > > CcdImageList
Handler of an actual image from a single CCD.
SimplePhotometryModel & operator=(SimplePhotometryModel const &)=delete
Photometric response model which has a single photometric factor per CcdImage.