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_);
94 virtual bool operator==(BoundedField
const& rhs)
const;
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.
boost::shared_ptr< afw::geom::SkyWcs const > wcs
std::vector< Element > ElementVector
CoaddBoundedFieldElement Element
bool operator!=(CoaddBoundedFieldElement const &rhs) const
Elements are equal if all their components are equal.
def scale(algorithm, min, max=None, frame=None)
afw::table::Key< double > default_
ElementVector getElements() const
Get the elements vector.
bool operator==(CoaddBoundedFieldElement const &rhs) const
Elements are equal if all their components are equal.
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.
constexpr Angle operator*(Angle a, Angle d) noexcept
afw::table::Key< int > coaddWcs
double getDefault() const
Get the default value.
io::OutputArchiveHandle OutputArchiveHandle
virtual bool isPersistable() const
Return true if the CoaddBoundedField persistable (always true).
boost::shared_ptr< afw::math::BoundedField > field
boost::shared_ptr< afw::geom::polygon::Polygon const > validPolygon