npstreams.imax¶
-
npstreams.
imax
(arrays, axis, ignore_nan=False)¶ Maximum of a stream of arrays along an axis.
Parameters: - arrays (iterable) – Arrays to be reduced.
- axis (int or None, optional) – Axis along which the maximum is found. The default
is to find the maximum along the ‘stream axis’, as if all arrays in
array
were stacked along a new dimension. Ifaxis = None
, arrays inarrays
are flattened before reduction. - ignore_nan (bool, optional) – If True, NaNs are ignored. Default is propagation of NaNs.
Yields: online_max (ndarray) – Cumulative maximum.