35 for (
auto const &
ccdImage : ccdImageList) {
43 <<
" total parameters. Reduce the model complexity (e.g. polynomial order)"
44 " to better match the number of measured sources.");
52 for (
auto const &
x : {
bbox.xMin,
bbox.getCenter().x,
bbox.xMax})
53 for (
auto const &
y : {
bbox.yMin,
bbox.getCenter().y,
bbox.yMax}) {
#define LOGLS_WARN(logger, message)
#define LOGLS_ERROR(logger, message)
The base class for handling stars. Used by all matching routines.
Handler of an actual image from a single CCD.
Sources measured on images.
void setInstFluxAndErr(double instFlux, double instFluxErr)
virtual std::size_t getTotalParameters() const =0
Return the total number of parameters in this model.
LOG_LOGGER _log
lsst.logging instance, to be created by a subclass so that messages have consistent name.
virtual double transform(CcdImage const &ccdImage, MeasuredStar const &measuredStar) const =0
Return the on-sky transformed flux for measuredStar on ccdImage.
bool validate(CcdImageList const &ccdImageList, int ndof) const
Return true if this is a "reasonable" model.
bool checkPositiveOnBBox(CcdImage const &ccdImage) const
Check that the model is positive on the ccdImage bbox.