24 #ifndef LSST_MEAS_ALGORITHMS_CoaddBoundedField_h_INCLUDED 25 #define LSST_MEAS_ALGORITHMS_CoaddBoundedField_h_INCLUDED 34 namespace algorithms {
66 ElementVector
const& elements);
69 ElementVector
const& elements,
double default_);
72 double evaluate(
geom::Point2D const& position)
const override;
94 bool operator==(BoundedField
const& rhs)
const override;
107 bool _throwOnMissing;
110 ElementVector _elements;
114 os <<
"CoaddBoundedField with " << _elements.
size() <<
" elements, default " << _default;
123 #endif // !LSST_MEAS_ALGORITHMS_CoaddBoundedField_h_INCLUDED
Struct used to hold one Exposure's data in a CoaddBoundedField.
A 2-dimensional celestial WCS that transform pixels to ICRS RA/Dec, using the LSST standard for pixel...
boost::shared_ptr< afw::geom::SkyWcs const > wcs
afw::table::Key< double > default_
std::vector< Element > ElementVector
An object passed to Persistable::write to allow it to persist itself.
CoaddBoundedFieldElement Element
std::shared_ptr< Image< PixelT > > operator*(Image< PixelT > const &img, ImageSlice< PixelT > const &slc)
Overload operator*()
bool operator!=(CoaddBoundedFieldElement const &rhs) const
Elements are equal if all their components are equal.
def scale(algorithm, min, max=None, frame=None)
ElementVector getElements() const
Get the elements vector.
bool operator==(CoaddBoundedFieldElement const &rhs) const
Elements are equal if all their components are equal.
virtual bool isPersistable() const noexcept override
Return true if the CoaddBoundedField persistable (always true).
A base class for image defects.
CoaddBoundedFieldElement(boost::shared_ptr< afw::math::BoundedField > field_, boost::shared_ptr< afw::geom::SkyWcs const > wcs_, boost::shared_ptr< afw::geom::polygon::Polygon const > validPolygon_, double weight_=1.0)
std::shared_ptr< afw::geom::SkyWcs const > getCoaddWcs() const
Get the coaddWcs.
afw::table::Key< int > coaddWcs
double getDefault() const
Get the default value.
An abstract base class for 2-d functions defined on an integer bounding boxes.
A CRTP facade class for subclasses of Persistable.
An integer coordinate rectangle.
boost::shared_ptr< afw::math::BoundedField > field
boost::shared_ptr< afw::geom::polygon::Polygon const > validPolygon