LSSTApplications  20.0.0
LSSTDataManagementBasePackage
ellipseContinued.py
Go to the documentation of this file.
1 __all__ = [] # import this module only for its side effects
2 
3 from lsst.utils import continueClass
4 from .ellipse import Ellipse
5 
6 
7 @continueClass # noqa: F811
8 class Ellipse:
9  def __repr__(self):
10  return f"Ellipse({self.getCore()!r}, {self.getCenter()!r})"
11 
12  def __reduce__(self):
13  return (Ellipse, (self.getCore(), self.getCenter()))
14 
15  def __str__(self):
16  return f"({self.getCore()}, {self.getCenter()})"
lsst::afw::geom::ellipses.ellipse.ellipseContinued.Ellipse.__repr__
def __repr__(self)
Definition: ellipseContinued.py:9
lsst::afw::geom::ellipses.ellipse.ellipseContinued.Ellipse.__reduce__
def __reduce__(self)
Definition: ellipseContinued.py:12
lsst::utils
Definition: Backtrace.h:29
lsst::afw::geom::ellipses.ellipse.ellipseContinued.Ellipse
Definition: ellipseContinued.py:8
lsst::afw::geom::ellipses.ellipse.ellipseContinued.Ellipse.__str__
def __str__(self)
Definition: ellipseContinued.py:15