lsst.meas.algorithms
20.0.0-7-gc818c6e6+52241a9218
|
Go to the documentation of this file.
24 #ifndef LSST_MEAS_ALGORITHMS_CoaddBoundedField_h_INCLUDED
25 #define LSST_MEAS_ALGORITHMS_CoaddBoundedField_h_INCLUDED
34 namespace algorithms {
107 bool _throwOnMissing;
114 os <<
"CoaddBoundedField with " << _elements.size() <<
" elements, default " << _default;
123 #endif // !LSST_MEAS_ALGORITHMS_CoaddBoundedField_h_INCLUDED
bool operator==(BoundedField const &rhs) const override
BoundedFields (of the same sublcass) are equal if their bounding boxes and parameters are equal.
virtual bool isPersistable() const noexcept override
Return true if the CoaddBoundedField persistable (always true).
afw::table::Key< double > default_
double getDefault() const
Get the default value.
boost::shared_ptr< afw::geom::polygon::Polygon const > validPolygon
boost::shared_ptr< afw::geom::SkyWcs const > wcs
BoundedField(BoundedField const &)=default
ElementVector getElements() const
Get the elements vector.
std::string getPythonModule() const override
afw::table::Key< int > coaddWcs
void write(OutputArchiveHandle &handle) const override
bool operator!=(CoaddBoundedFieldElement const &rhs) const
Elements are equal if all their components are equal.
CoaddBoundedFieldElement Element
double evaluate(geom::Point2D const &position) const override
CoaddBoundedField(geom::Box2I const &bbox, boost::shared_ptr< afw::geom::SkyWcs const > coaddWcs, ElementVector const &elements)
bool operator==(CoaddBoundedFieldElement const &rhs) const
Elements are equal if all their components are equal.
Struct used to hold one Exposure's data in a CoaddBoundedField.
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::vector< Element > ElementVector
boost::shared_ptr< afw::math::BoundedField > field
boost::shared_ptr< afw::math::BoundedField > operator*(double const scale) const override
std::shared_ptr< afw::geom::SkyWcs const > getCoaddWcs() const
Get the coaddWcs.
io::OutputArchiveHandle OutputArchiveHandle
std::string getPersistenceName() const override