LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
#include <CoaddBoundedField.h>
Classes | |
class | Factory |
Public Types | |
typedef CoaddBoundedFieldElement | Element |
typedef std::vector< Element > | ElementVector |
Public Member Functions | |
CoaddBoundedField (afw::geom::Box2I const &bbox, boost::shared_ptr< afw::image::Wcs const > coaddWcs, ElementVector const &elements) | |
CoaddBoundedField (afw::geom::Box2I const &bbox, boost::shared_ptr< afw::image::Wcs const > coaddWcs, ElementVector const &elements, double default_) | |
virtual double | evaluate (afw::geom::Point2D const &position) const |
virtual bool | isPersistable () const |
Return true if the CoaddBoundedField persistable (always true). More... | |
virtual boost::shared_ptr < afw::math::BoundedField > | operator* (double const scale) const |
Public Member Functions inherited from lsst::afw::math::BoundedField | |
double | evaluate (double x, double y) const |
ndarray::Array< double, 1, 1 > | evaluate (ndarray::Array< double const, 1 > const &x, ndarray::Array< double const, 1 > const &y) const |
geom::Box2I | getBBox () const |
template<typename T > | |
void | fillImage (image::Image< T > &image, bool overlapOnly=false) const |
template<typename T > | |
void | addToImage (image::Image< T > &image, double scaleBy=1.0, bool overlapOnly=false) const |
template<typename T > | |
void | multiplyImage (image::Image< T > &image, bool overlapOnly=false) const |
template<typename T > | |
void | divideImage (image::Image< T > &image, bool overlapOnly=false) const |
boost::shared_ptr< BoundedField > | operator/ (double scale) const |
virtual | ~BoundedField () |
Public Member Functions inherited from lsst::afw::table::io::Persistable | |
void | writeFits (std::string const &fileName, std::string const &mode="w") const |
Write the object to a regular FITS file. More... | |
void | writeFits (fits::MemFileManager &manager, std::string const &mode="w") const |
Write the object to a FITS image in memory. More... | |
void | writeFits (fits::Fits &fitsfile) const |
Write the object to an already-open FITS object. More... | |
virtual | ~Persistable () |
Protected Member Functions | |
virtual std::string | getPersistenceName () const |
Return the unique name used to persist this object and look up its factory. More... | |
virtual std::string | getPythonModule () const |
Return the fully-qualified Python module that should be imported to guarantee that its factory is registered. More... | |
virtual void | write (OutputArchiveHandle &handle) const |
Write the object to one or more catalogs. More... | |
Protected Member Functions inherited from lsst::afw::math::BoundedField | |
BoundedField (geom::Box2I const &bbox) | |
Protected Member Functions inherited from lsst::afw::table::io::Persistable | |
Persistable () | |
Persistable (Persistable const &other) | |
void | operator= (Persistable const &other) |
Private Attributes | |
bool | _throwOnMissing |
double | _default |
boost::shared_ptr < afw::image::Wcs const > | _coaddWcs |
ElementVector | _elements |
Additional Inherited Members | |
Static Public Member Functions inherited from lsst::afw::table::io::PersistableFacade< CoaddBoundedField > | |
static boost::shared_ptr < CoaddBoundedField > | readFits (fits::Fits &fitsfile) |
Read an object from an already open FITS object. More... | |
static boost::shared_ptr < CoaddBoundedField > | readFits (std::string const &fileName, int hdu=0) |
Read an object from a regular FITS file. More... | |
static boost::shared_ptr < CoaddBoundedField > | readFits (fits::MemFileManager &manager, int hdu=0) |
Read an object from a FITS file in memory. More... | |
Static Public Member Functions inherited from lsst::afw::table::io::PersistableFacade< BoundedField > | |
static boost::shared_ptr < BoundedField > | readFits (fits::Fits &fitsfile) |
Read an object from an already open FITS object. More... | |
static boost::shared_ptr < BoundedField > | readFits (std::string const &fileName, int hdu=0) |
Read an object from a regular FITS file. More... | |
static boost::shared_ptr < BoundedField > | readFits (fits::MemFileManager &manager, int hdu=0) |
Read an object from a FITS file in memory. More... | |
Protected Types inherited from lsst::afw::table::io::Persistable | |
typedef io::OutputArchiveHandle | OutputArchiveHandle |
Definition at line 50 of file CoaddBoundedField.h.
Definition at line 56 of file CoaddBoundedField.h.
typedef std::vector<Element> lsst::meas::algorithms::CoaddBoundedField::ElementVector |
Definition at line 57 of file CoaddBoundedField.h.
|
explicit |
Definition at line 34 of file CoaddBoundedField.cc.
|
explicit |
Definition at line 46 of file CoaddBoundedField.cc.
|
virtual |
Evaluate the field at the given point.
This is the only abstract method to be implemented by subclasses.
Subclasses should not provide bounds checking on the given position; this is the responsibility of the user, who can almost always do it more efficiently.
Implements lsst::afw::math::BoundedField.
Definition at line 59 of file CoaddBoundedField.cc.
|
protectedvirtual |
Return the unique name used to persist this object and look up its factory.
Must be less than ArchiveIndexSchema::MAX_NAME_LENGTH characters.
Reimplemented from lsst::afw::table::io::Persistable.
Definition at line 197 of file CoaddBoundedField.cc.
|
protectedvirtual |
Return the fully-qualified Python module that should be imported to guarantee that its factory is registered.
Must be less than ArchiveIndexSchema::MAX_MODULE_LENGTH characters.
Will be ignored if empty.
Reimplemented from lsst::afw::table::io::Persistable.
Definition at line 199 of file CoaddBoundedField.cc.
|
inlinevirtual |
Return true if the CoaddBoundedField persistable (always true).
Reimplemented from lsst::afw::table::io::Persistable.
Definition at line 78 of file CoaddBoundedField.h.
|
virtual |
Return a scaled BoundedField
[in] | scale | Scaling factor |
Implements lsst::afw::math::BoundedField.
Definition at line 222 of file CoaddBoundedField.cc.
|
protectedvirtual |
Write the object to one or more catalogs.
The handle object passed to this function provides an interface for adding new catalogs and adding nested objects to the same archive (while checking for duplicates). See OutputArchiveHandle for more information.
Reimplemented from lsst::afw::table::io::Persistable.
Definition at line 201 of file CoaddBoundedField.cc.
|
private |
Definition at line 100 of file CoaddBoundedField.h.
|
private |
Definition at line 99 of file CoaddBoundedField.h.
|
private |
Definition at line 101 of file CoaddBoundedField.h.
|
private |
Definition at line 98 of file CoaddBoundedField.h.