lsst.afw
20.0.0-18-gcabc0c9fd+109ac6652c
|
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;
101 std::
string toString() const override;
103 std::shared_ptr<geom::SkyWcs const> _skyWcs;
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...
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.
PixelAreaBoundedField & operator=(PixelAreaBoundedField &&)=delete
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
PixelAreaBoundedField(PixelAreaBoundedField &&)=default
PixelAreaBoundedField(PixelAreaBoundedField const &)=default