lsst.afw g714e0ed6de+61745a5d47
Loading...
Searching...
No Matches
lsst.afw.geom.ellipses.EllipseMatplotlibInterface Class Reference

Public Member Functions

 __init__ (self, ellipse, scale=1.0, **kwds)
 
 __getattr__ (self, name)
 
 update (self, show=True, rescale=True)
 

Public Attributes

 scale = float(scale)
 
 patch
 

Detailed Description

An interface for drawing the ellipse using matplotlib.

This is typically initiated by calling Ellipse.plot(), which
returns an instance of this class.

Definition at line 42 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

lsst.afw.geom.ellipses.EllipseMatplotlibInterface.__init__ ( self,
ellipse,
scale = 1.0,
** kwds )

Definition at line 49 of file __init__.py.

Member Function Documentation

◆ __getattr__()

lsst.afw.geom.ellipses.EllipseMatplotlibInterface.__getattr__ ( self,
name )

Definition at line 63 of file __init__.py.

◆ update()

lsst.afw.geom.ellipses.EllipseMatplotlibInterface.update ( self,
show = True,
rescale = True )
Update the matplotlib representation to the current ellipse parameters.

Definition at line 66 of file __init__.py.

Member Data Documentation

◆ patch

lsst.afw.geom.ellipses.EllipseMatplotlibInterface.patch
Initial value:
= matplotlib.patches.Ellipse(
(self.__ellipse.getCenter().getX(), self.__ellipse.getCenter().getY()),
core.getA(), core.getB(), core.getTheta() * 180.0 / np.pi,
**kwds
)

Definition at line 57 of file __init__.py.

◆ scale

lsst.afw.geom.ellipses.EllipseMatplotlibInterface.scale = float(scale)

Definition at line 54 of file __init__.py.


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