python-quantities/python-quantities — pull request #41 by dopplershift (2012-05-14 18:20:17+00:00)
Title: Fix wrapping some numpy array methods

Fix a couple problems I noticed in Quantity's wrapping of numpy methods:

* numpy.squeeze() is not wrapped. Numpy's squeeze() implementation doesn't quite work correctly, as the resulting units are set to "dimensionless". Adding a wrapper for this to Quantity fixes my problem.

* Add some missing parameters to calls for several other wrapped method. While editing code I noticed some wrapped calls took arguments, but had empty calls to the numpy counterparts. These are fixed by this PR.