lsst.afw  21.0.0-30-gf21da11f8+33ac405c47
_ellipse.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 ._ellipses import Ellipse
5 
6 
7 @continueClass # noqa: F811 (FIXME: remove for py 3.8+)
8 class Ellipse: # noqa: F811
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()})"