#include "testSpatialCell.h"
ExampleCandidate::ExampleCandidate(float const xCenter, float const yCenter,
: lsst::afw::math::SpatialCellImageCandidate(xCenter, yCenter), _parent(parent),
_bbox(bbox) {}
double ExampleCandidate::getCandidateRating() const {
return (*_parent->getImage())(getXCenter(), getYCenter());
}
std::shared_ptr<ExampleCandidate::MaskedImageT const> ExampleCandidate::getMaskedImage() const {
if (!_image) {
}
return _image;
}