utils.utilities
Collection of utility functions and classes
Some of these come from the matplotlib cbook module with thanks.
cbook
nipy.utils.utilities.
is_iterable
Return True if obj is iterable
is_numlike
Return True if obj looks like a number
seq_prod
General product of sequence elements
seq : sequence
Iterable of values to multiply.
initial : object, optional
Initial value
prod : object
Result of ``initial * seq[0] * seq[1] .. ``.