lsst.afw  16.0-10-gd1b3a1c94
axes.py
Go to the documentation of this file.
1 from ._axes import Axes
2 
3 __all__ = [] # import this module only for its side effects
4 
5 
6 def __repr__(self):
7  return "Axes(a=%r, b=%r, theta=%r)" % (self.getA(), self.getB(), self.getTheta())
8 
9 
10 Axes.__repr__ = __repr__
11 
12 
13 def __str__(self):
14  return "(a=%s, b=%s, theta=%s)" % (self.getA(), self.getB(), self.getTheta())
15 
16 
17 Axes.__str__ = __str__
18 
19 
20 def __reduce__(self):
21  return (Axes, (self.getA(), self.getB(), self.getTheta()))
22 
23 
24 Axes.__reduce__ = __reduce__