lsst.pipe.tasks g253578fa50+0eeb8841d4
Loading...
Searching...
No Matches
lsst.pipe.tasks.peekExposure.DonutPsf Class Referenceabstract
Inheritance diagram for lsst.pipe.tasks.peekExposure.DonutPsf:
lsst::afw::detection::Psf lsst::afw::table::io::PersistableFacade< Psf > lsst::afw::typehandling::Storable lsst::afw::table::io::Persistable

Public Types

enum  ImageOwnerEnum
 
typedef math::Kernel::Pixel Pixel
 
typedef image::Image< PixelImage
 

Public Member Functions

 __init__ (self, float size, float outerRad, float innerRad)
 
DonutPsf __deepcopy__ (self, Any|None memo=None)
 
DonutPsf resized (self, float width, float height)
 
bool __eq__ (self, object rhs)
 
virtual std::shared_ptr< Psfclone () const=0
 
std::shared_ptr< typehandling::Storable > cloneStorable () const override
 
std::shared_ptr< ImagecomputeImage (lsst::geom::Point2D position, image::Color color=image::Color(), ImageOwnerEnum owner=COPY) const
 
std::shared_ptr< ImagecomputeKernelImage (lsst::geom::Point2D position, image::Color color=image::Color(), ImageOwnerEnum owner=COPY) const
 
double computePeak (lsst::geom::Point2D position, image::Color color=image::Color()) const
 
double computeApertureFlux (double radius, lsst::geom::Point2D position, image::Color color=image::Color()) const
 
geom::ellipses::Quadrupole computeShape (lsst::geom::Point2D position, image::Color color=image::Color()) const
 
std::shared_ptr< math::Kernel const > getLocalKernel (lsst::geom::Point2D position, image::Color color=image::Color()) const
 
image::Color getAverageColor () const
 
virtual lsst::geom::Point2D getAveragePosition () const
 
lsst::geom::Box2I computeBBox (lsst::geom::Point2D position, image::Color color=image::Color()) const
 
lsst::geom::Box2I computeImageBBox (lsst::geom::Point2D position, image::Color color=image::Color()) const
 
lsst::geom::Box2I computeKernelBBox (lsst::geom::Point2D position, image::Color color=image::Color()) const
 
std::size_t getCacheCapacity () const
 
void setCacheCapacity (std::size_t capacity)
 
virtual std::string toString () const
 
virtual std::size_t hash_value () const
 
virtual bool equals (Storable const &other) const noexcept
 
virtual bool equals (Storable const &other) const noexcept
 
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
 
virtual bool isPersistable () const noexcept
 
std::ostreamoperator<< (std::ostream &os, Storable const &storable)
 
std::ostreamoperator<< (std::ostream &os, Storable const &storable)
 

Static Public Member Functions

static std::shared_ptr< ImagerecenterKernelImage (std::shared_ptr< Image > im, lsst::geom::Point2D const &position, std::string const &warpAlgorithm="lanczos5", unsigned int warpBuffer=5)
 
static std::shared_ptr< PsfreadFits (fits::Fits &fitsfile)
 
static std::shared_ptr< PsfreadFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU)
 
static std::shared_ptr< PsfreadFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU)
 
static std::shared_ptr< PsfdynamicCast (std::shared_ptr< Persistable > const &ptr)
 
static std::shared_ptr< T > dynamicCast (std::shared_ptr< Persistable > const &ptr)
 

Public Attributes

 size = size
 
 outerRad = outerRad
 
 innerRad = innerRad
 
 dimensions = Extent2I(size, size)
 
 sigma
 
 COPY
 
 INTERNAL
 

Protected Types

typedef io::OutputArchiveHandle OutputArchiveHandle
 

Protected Member Functions

ImageD _doComputeKernelImage (self, Point2D|None position=None, afwImage.Color|None color=None)
 
Box2I _doComputeBBox (self, Point2D|None position=None, afwImage.Color|None color=None)
 
Quadrupole _doComputeShape (self, Point2D|None position=None, afwImage.Color|None color=None)
 
float _doComputeApertureFlux (self, float radius, Point2D|None position=None, afwImage.Color|None color=None)
 
virtual std::shared_ptr< ImagedoComputeImage (lsst::geom::Point2D const &position, image::Color const &color) const
 
virtual lsst::geom::Box2I doComputeImageBBox (lsst::geom::Point2D const &position, image::Color const &color) const
 
virtual std::string getPersistenceName () const
 
virtual std::string getPythonModule () const
 
virtual void write (OutputArchiveHandle &handle) const
 
virtual void write (OutputArchiveHandle &handle) const
 

Static Protected Member Functions

static bool singleClassEquals (T const &lhs, Storable const &rhs)
 
static bool singleClassEquals (T const &lhs, Storable const &rhs)
 

Detailed Description

Definition at line 211 of file peekExposure.py.

Constructor & Destructor Documentation

◆ __init__()

lsst.pipe.tasks.peekExposure.DonutPsf.__init__ ( self,
float size,
float outerRad,
float innerRad )

Definition at line 212 of file peekExposure.py.

Member Function Documentation

◆ __deepcopy__()

DonutPsf lsst.pipe.tasks.peekExposure.DonutPsf.__deepcopy__ ( self,
Any | None memo = None )

Definition at line 219 of file peekExposure.py.

◆ __eq__()

bool lsst.pipe.tasks.peekExposure.DonutPsf.__eq__ ( self,
object rhs )

Definition at line 253 of file peekExposure.py.

◆ _doComputeApertureFlux()

float lsst.pipe.tasks.peekExposure.DonutPsf._doComputeApertureFlux ( self,
float radius,
Point2D | None position = None,
afwImage.Color | None color = None )
protected

Definition at line 248 of file peekExposure.py.

◆ _doComputeBBox()

Box2I lsst.pipe.tasks.peekExposure.DonutPsf._doComputeBBox ( self,
Point2D | None position = None,
afwImage.Color | None color = None )
protected

Definition at line 238 of file peekExposure.py.

◆ _doComputeKernelImage()

ImageD lsst.pipe.tasks.peekExposure.DonutPsf._doComputeKernelImage ( self,
Point2D | None position = None,
afwImage.Color | None color = None )
protected

Definition at line 226 of file peekExposure.py.

◆ _doComputeShape()

Quadrupole lsst.pipe.tasks.peekExposure.DonutPsf._doComputeShape ( self,
Point2D | None position = None,
afwImage.Color | None color = None )
protected

Definition at line 241 of file peekExposure.py.

◆ resized()

DonutPsf lsst.pipe.tasks.peekExposure.DonutPsf.resized ( self,
float width,
float height )

Definition at line 222 of file peekExposure.py.

Member Data Documentation

◆ dimensions

lsst.pipe.tasks.peekExposure.DonutPsf.dimensions = Extent2I(size, size)

Definition at line 217 of file peekExposure.py.

◆ innerRad

lsst.pipe.tasks.peekExposure.DonutPsf.innerRad = innerRad

Definition at line 216 of file peekExposure.py.

◆ outerRad

lsst.pipe.tasks.peekExposure.DonutPsf.outerRad = outerRad

Definition at line 215 of file peekExposure.py.

◆ sigma

lsst.pipe.tasks.peekExposure.DonutPsf.sigma

Definition at line 251 of file peekExposure.py.

◆ size

lsst.pipe.tasks.peekExposure.DonutPsf.size = size

Definition at line 214 of file peekExposure.py.


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