lsst.meas.algorithms ge6526c86ff+0433e6603d
|
#include <CoaddBoundedField.h>
Classes | |
class | Factory |
Public Types | |
typedef CoaddBoundedFieldElement | Element |
typedef std::vector< Element > | ElementVector |
Public Member Functions | |
CoaddBoundedField (geom::Box2I const &bbox, std::shared_ptr< afw::geom::SkyWcs const > coaddWcs, ElementVector const &elements) | |
CoaddBoundedField (geom::Box2I const &bbox, std::shared_ptr< afw::geom::SkyWcs const > coaddWcs, ElementVector const &elements, double default_) | |
double | evaluate (geom::Point2D const &position) const override |
std::shared_ptr< afw::geom::SkyWcs const > | getCoaddWcs () const |
Get the coaddWcs. | |
double | getDefault () const |
Get the default value. | |
ElementVector | getElements () const |
Get the elements vector. | |
bool | getThrowOnMissing () const |
Get the throwOnMissing setting. | |
virtual bool | isPersistable () const noexcept override |
Return true if the CoaddBoundedField persistable (always true). | |
std::shared_ptr< afw::math::BoundedField > | operator* (double const scale) const override |
bool | operator== (BoundedField const &rhs) const override |
BoundedFields (of the same sublcass) are equal if their bounding boxes and parameters are equal. | |
double | evaluate (double x, double y) const |
virtual ndarray::Array< double, 1, 1 > | evaluate (ndarray::Array< double const, 1 > const &x, ndarray::Array< double const, 1 > const &y) const |
virtual double | integrate () const |
virtual double | mean () const |
lsst::geom::Box2I | getBBox () const |
void | fillImage (image::Image< T > &image, bool overlapOnly=false, int xStep=1, int yStep=1) const |
void | addToImage (image::Image< T > &image, double scaleBy=1.0, bool overlapOnly=false, int xStep=1, int yStep=1) const |
void | multiplyImage (image::Image< T > &image, bool overlapOnly=false, int xStep=1, int yStep=1) const |
void | divideImage (image::Image< T > &image, bool overlapOnly=false, int xStep=1, int yStep=1) const |
std::shared_ptr< BoundedField > | operator/ (double scale) const |
virtual bool | operator== (BoundedField const &rhs) const=0 |
bool | operator!= (BoundedField const &rhs) const |
void | writeFits (std::string const &fileName, std::string const &mode="w") const |
void | writeFits (fits::MemFileManager &manager, std::string const &mode="w") const |
void | writeFits (fits::Fits &fitsfile) const |
Static Public Member Functions | |
static std::shared_ptr< T > | readFits (fits::Fits &fitsfile) |
static std::shared_ptr< T > | readFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU) |
static std::shared_ptr< T > | readFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU) |
static std::shared_ptr< T > | dynamicCast (std::shared_ptr< Persistable > const &ptr) |
static std::shared_ptr< BoundedField > | readFits (fits::Fits &fitsfile) |
static std::shared_ptr< BoundedField > | readFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU) |
static std::shared_ptr< BoundedField > | readFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU) |
static std::shared_ptr< BoundedField > | dynamicCast (std::shared_ptr< Persistable > const &ptr) |
static std::shared_ptr< T > | dynamicCast (std::shared_ptr< Persistable > const &ptr) |
Protected Types | |
typedef io::OutputArchiveHandle | OutputArchiveHandle |
Protected Member Functions | |
std::string | getPersistenceName () const override |
std::string | getPythonModule () const override |
void | write (OutputArchiveHandle &handle) const override |
virtual void | write (OutputArchiveHandle &handle) const |
Private Member Functions | |
std::string | toString () const override |
Definition at line 59 of file CoaddBoundedField.h.
Definition at line 62 of file CoaddBoundedField.h.
Definition at line 63 of file CoaddBoundedField.h.
|
explicit |
Definition at line 73 of file CoaddBoundedField.cc.
|
explicit |
Definition at line 81 of file CoaddBoundedField.cc.
|
overridevirtual |
Implements lsst::afw::math::BoundedField.
Definition at line 89 of file CoaddBoundedField.cc.
|
inline |
Get the coaddWcs.
Definition at line 75 of file CoaddBoundedField.h.
|
inline |
Get the default value.
Definition at line 78 of file CoaddBoundedField.h.
|
inline |
Get the elements vector.
Definition at line 81 of file CoaddBoundedField.h.
|
overrideprotectedvirtual |
Reimplemented from lsst::afw::math::BoundedField.
Definition at line 229 of file CoaddBoundedField.cc.
|
overrideprotectedvirtual |
Reimplemented from lsst::afw::math::BoundedField.
Definition at line 231 of file CoaddBoundedField.cc.
|
inline |
Get the throwOnMissing setting.
Definition at line 84 of file CoaddBoundedField.h.
|
inlineoverridevirtualnoexcept |
Return true if the CoaddBoundedField persistable (always true).
Reimplemented from lsst::afw::math::BoundedField.
Definition at line 89 of file CoaddBoundedField.h.
|
overridevirtual |
Implements lsst::afw::math::BoundedField.
Definition at line 254 of file CoaddBoundedField.cc.
|
override |
BoundedFields (of the same sublcass) are equal if their bounding boxes and parameters are equal.
Definition at line 258 of file CoaddBoundedField.cc.
|
inlineoverrideprivatevirtual |
Implements lsst::afw::math::BoundedField.
Definition at line 115 of file CoaddBoundedField.h.
|
overrideprotectedvirtual |
Reimplemented from lsst::afw::math::BoundedField.
Definition at line 233 of file CoaddBoundedField.cc.