Misc. Utilities (gala.util
)#
Introduction#
This subpackage contains miscellaneous utilities.
API#
gala.util Module#
General utilities.
Functions#
|
There is an example of an iterator for pure-Python objects in: http://stackoverflow.com/questions/6822725/rolling-or-sliding-window-iterator-in-python This is a rolling-window iterator Numpy arrays, with window size and stride control. |
|
View inputs as arrays with at least two dimensions. |
|
Like numpy's assert_allclose, but for angles (in radians). |