lsst.meas.algorithms  14.0-21-ge7d40960+8
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | List of all members
lsst::meas::algorithms::CoaddBoundedField Class Referenceabstract

#include <CoaddBoundedField.h>

Inheritance diagram for lsst::meas::algorithms::CoaddBoundedField:
lsst::afw::table::io::PersistableFacade< CoaddBoundedField > lsst::afw::math::BoundedField PersistableFacade< BoundedField > lsst::afw::table::io::Persistable

Classes

class  Factory
 

Public Types

typedef CoaddBoundedFieldElement Element
 
typedef std::vector< ElementElementVector
 

Public Member Functions

 CoaddBoundedField (afw::geom::Box2I const &bbox, boost::shared_ptr< afw::geom::SkyWcs const > coaddWcs, ElementVector const &elements)
 
 CoaddBoundedField (afw::geom::Box2I const &bbox, boost::shared_ptr< afw::geom::SkyWcs 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::BoundedFieldoperator* (double const scale) const
 
virtual bool operator== (BoundedField const &rhs) const
 BoundedFields (of the same sublcass) are equal if their bounding boxes and parameters are equal. More...
 
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
 
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< BoundedFieldoperator/ (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< CoaddBoundedFieldreadFits (fits::Fits &fitsfile)
 
static std::shared_ptr< CoaddBoundedFieldreadFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU)
 
static std::shared_ptr< CoaddBoundedFieldreadFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU)
 
static std::shared_ptr< BoundedFieldreadFits (fits::Fits &fitsfile)
 
static std::shared_ptr< BoundedFieldreadFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU)
 
static std::shared_ptr< BoundedFieldreadFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU)
 
static std::shared_ptr< BoundedFieldreadFits (fits::Fits &fitsfile)
 
static std::shared_ptr< BoundedFieldreadFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU)
 

Protected Types

typedef io::OutputArchiveHandle OutputArchiveHandle
 

Protected Member Functions

virtual std::string getPersistenceName () const
 
virtual std::string getPythonModule () const
 
virtual void write (OutputArchiveHandle &handle) const
 
virtual void write (OutputArchiveHandle &handle) const
 

Detailed Description

Definition at line 58 of file CoaddBoundedField.h.

Member Typedef Documentation

◆ Element

Definition at line 64 of file CoaddBoundedField.h.

◆ ElementVector

Definition at line 65 of file CoaddBoundedField.h.

Constructor & Destructor Documentation

◆ CoaddBoundedField() [1/2]

lsst::meas::algorithms::CoaddBoundedField::CoaddBoundedField ( afw::geom::Box2I const &  bbox,
boost::shared_ptr< afw::geom::SkyWcs const >  coaddWcs,
ElementVector const &  elements 
)
explicit

Definition at line 34 of file CoaddBoundedField.cc.

◆ CoaddBoundedField() [2/2]

lsst::meas::algorithms::CoaddBoundedField::CoaddBoundedField ( afw::geom::Box2I const &  bbox,
boost::shared_ptr< afw::geom::SkyWcs const >  coaddWcs,
ElementVector const &  elements,
double  default_ 
)
explicit

Definition at line 46 of file CoaddBoundedField.cc.

Member Function Documentation

◆ evaluate()

double lsst::meas::algorithms::CoaddBoundedField::evaluate ( afw::geom::Point2D const &  position) const
virtual

Implements lsst::afw::math::BoundedField.

Definition at line 59 of file CoaddBoundedField.cc.

◆ getPersistenceName()

std::string lsst::meas::algorithms::CoaddBoundedField::getPersistenceName ( ) const
protectedvirtual

Reimplemented from lsst::afw::math::BoundedField.

Definition at line 213 of file CoaddBoundedField.cc.

◆ getPythonModule()

std::string lsst::meas::algorithms::CoaddBoundedField::getPythonModule ( ) const
protectedvirtual

Reimplemented from lsst::afw::math::BoundedField.

Definition at line 215 of file CoaddBoundedField.cc.

◆ isPersistable()

virtual bool lsst::meas::algorithms::CoaddBoundedField::isPersistable ( ) const
inlinevirtual

Return true if the CoaddBoundedField persistable (always true).

Reimplemented from lsst::afw::math::BoundedField.

Definition at line 86 of file CoaddBoundedField.h.

◆ operator*()

boost::shared_ptr< afw::math::BoundedField > lsst::meas::algorithms::CoaddBoundedField::operator* ( double const  scale) const
virtual

Implements lsst::afw::math::BoundedField.

Definition at line 238 of file CoaddBoundedField.cc.

◆ operator==()

bool lsst::meas::algorithms::CoaddBoundedField::operator== ( BoundedField const &  rhs) const
virtual

BoundedFields (of the same sublcass) are equal if their bounding boxes and parameters are equal.

Definition at line 242 of file CoaddBoundedField.cc.

◆ write()

void lsst::meas::algorithms::CoaddBoundedField::write ( OutputArchiveHandle handle) const
protectedvirtual

Reimplemented from lsst::afw::math::BoundedField.

Definition at line 217 of file CoaddBoundedField.cc.


The documentation for this class was generated from the following files: