Method summary
- __add__(self, other)
- __array_finalize__(self, obj)
- __array_wrap__(self, obj, context = None)
- __convert_other(self, other)
- __deepcopy__(self, memo = { })
- __div__(self, other)
- __eq__(self, other)
- __ge__(self, other)
- __gt__(self, other)
- __le__(self, other)
- __lt__(self, other)
- __mul__(self, other)
- __ne__(self, other)
- __new__(cls, data, dtype = None, copy = True, units = None)
- __pow__(self, other)
- __radd__(self, other)
- __rdiv__(self, other)
- __reduce_ex__(self, protocol)
- __repr__(self)
- __rmul__(self, other)
- __rpow__(self, other)
- __rsub__(self, other)
- __setstate__(self, state)
- __sub__(self, other)
- as_units(self, new_units)
- concatenate(sequences, axis = 0)
Methods
- __add__(self, other)
- __array_finalize__(self, obj)
- __array_wrap__(self, obj, context = None)
- __convert_other(self, other)
- __deepcopy__(self, memo = { })
- __div__(self, other)
- __eq__(self, other)
- __ge__(self, other)
- __gt__(self, other)
- __le__(self, other)
- __lt__(self, other)
- __mul__(self, other)
- __ne__(self, other)
- __new__(cls, data, dtype = None, copy = True, units = None)
Called when a new object is created (before __init__).
The default behavior of ndarray is overridden to add units and family_name to the class.
- For more details, see:
- http://docs.python.org/ref/customization.html
- __pow__(self, other)
- __radd__(self, other)
- __rdiv__(self, other)
- __reduce_ex__(self, protocol)
pickling function for classes which inherit from tuple.
__reduce_ex__ must be overloaded for pickling to work. Refer to the docs in the pickle source code for details as to why.
- __repr__(self)
- __rmul__(self, other)
- __rpow__(self, other)
- __rsub__(self, other)
- __setstate__(self, state)
unpickling function
- __sub__(self, other)
- as_units(self, new_units)
Convert UnitArray from its current units to a new set of units.
- concatenate(sequences, axis = 0)