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