LSSTApplications  18.1.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 "Ellipse(%r, %r)" % (self.getCore(), self.getCenter())
11 
12  def __reduce__(self):
13  return (Ellipse, (self.getCore(), self.getCenter()))
14 
15  def __str__(self):
16  return "(%s, %s)" % (self.getCore(), self.getCenter())