2 #ifndef LSST_JOINTCAL_SIMPLE_PHOTOMETRY_MODEL_H
3 #define LSST_JOINTCAL_SIMPLE_PHOTOMETRY_MODEL_H
24 PhotomStuff(
const unsigned i = 0,
const double f = 1) : index(i), factor(f), fixed(
false){};
27 typedef std::map<const CcdImage *, PhotomStuff> mapType;
30 PhotomStuff &find(
const CcdImage &ccdImage);
31 const PhotomStuff &find(
const CcdImage &ccdImage)
const;
44 unsigned assignIndices(
const std::string &whatToFit,
unsigned firstIndex);
68 std::vector<unsigned> &indices, Eigen::VectorXd &D);
73 #endif // LSST_JOINTCAL_SIMPLE_PHOTOMETRY_MODEL_H
void getIndicesAndDerivatives(const MeasuredStar &measuredStar, const CcdImage &ccdImage, std::vector< unsigned > &indices, Eigen::VectorXd &D)
number of parameters to be read in indices.size()
unsigned assignIndices(const std::string &whatToFit, unsigned firstIndex)
Assign indices to parameters involved in mappings, starting at firstIndex.
objects measured on actual images.
SimplePhotometryModel(const CcdImageList &ccdImageList)
Interface class for PhotometryFit.
std::list< std::shared_ptr< CcdImage > > CcdImageList
void offsetParams(const Eigen::VectorXd &delta)
Offset the parameters by the provided amounts.
double photomFactor(const CcdImage &ccdImage, const Point &where=Point()) const
Return the "photometric factor" for this ccdImage.
Handler of an actual image from a single CCD.
Photometric response model which has a single photometric factor per CcdImage.