LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
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).
An abstract base class for 2-d functions defined on an integer bounding boxes.
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
A 2-dimensional celestial WCS that transform pixels to ICRS RA/Dec, using the LSST standard for pixel...
ElementVector getElements() const
Get the elements vector.
std::string getPythonModule() const override
Return the fully-qualified Python module that should be imported to guarantee that its factory is reg...
afw::table::Key< int > coaddWcs
void write(OutputArchiveHandle &handle) const override
Write the object to one or more catalogs.
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
Evaluate the field at the given point.
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.
A base class for image defects.
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
A CRTP facade class for subclasses of Persistable.
An integer coordinate rectangle.
def scale(algorithm, min, max=None, frame=None)
boost::shared_ptr< afw::math::BoundedField > operator*(double const scale) const override
Return a scaled BoundedField.
std::shared_ptr< afw::geom::SkyWcs const > getCoaddWcs() const
Get the coaddWcs.
io::OutputArchiveHandle OutputArchiveHandle
std::string getPersistenceName() const override
Return the unique name used to persist this object and look up its factory.