nipy/nitime — pull request #92 by ivanov (2011-12-22 00:04:58+00:00)
Title: Time array math functions

In my last PR, I somehow forgot to include the ``==`` comparison for TimeArray with unitless arrays or values. This PR adds that, and also makes TimeArray-attached functions like ``.min()``, ``.max()``, ``.sum()``, and ``.mean()`` return TimeArrays. I've also given TimeArray a ``__str__`` which calls our ``__repr__`` but makes TimeArrays print more reasonably while you're debugging and print them in pdb, for example.