lsst.afw
tickets.DM-23835-g31c64b24f1
|
Go to the documentation of this file.
28 #ifndef LSST_AFW_MATH_PixelAreaBoundedField_h_INCLUDED
29 #define LSST_AFW_MATH_PixelAreaBoundedField_h_INCLUDED
80 ndarray::Array<double, 1, 1>
evaluate(ndarray::Array<double const, 1>
const &
x,
81 ndarray::Array<double const, 1>
const &
y)
const override;
111 #endif // !LSST_AFW_MATH_PixelAreaBoundedField_h_INCLUDED
A BoundedField that evaluate the pixel area of a SkyWcs in angular units.
An abstract base class for 2-d functions defined on an integer bounding boxes.
An object passed to Persistable::write to allow it to persist itself.
bool isPersistable() const noexcept override
PixelAreaBoundedField is persistable if and only if the nested SkyWcs is.
~PixelAreaBoundedField() override=default
std::string getPythonModule() const override
Return the fully-qualified Python module that should be imported to guarantee that its factory is reg...
std::shared_ptr< BoundedField > operator*(double const scale) const override
Return a scaled BoundedField.
void write(OutputArchiveHandle &handle) const override
Write the object to one or more catalogs.
PixelAreaBoundedField(lsst::geom::Box2I const &bbox, std::shared_ptr< geom::SkyWcs const > skyWcs, lsst::geom::AngleUnit const &unit=lsst::geom::radians, double scaling=1.0)
Create a PixelAreaBoundedField from a SkyWcs.
PixelAreaBoundedField & operator=(PixelAreaBoundedField const &)=delete
A base class for image defects.
bool operator==(BoundedField const &rhs) const override
BoundedFields (of the same sublcass) are equal if their bounding boxes and parameters are equal.
double evaluate(lsst::geom::Point2D const &position) const override
Evaluate the field at the given point.
def scale(algorithm, min, max=None, frame=None)
constexpr AngleUnit radians
std::string getPersistenceName() const override
Return the unique name used to persist this object and look up its factory.
table::Key< double > scaling