prtools.nanrms#
- nanrms(a, axis=None)[source]#
Compute the root-mean-square of the nonzero entries, ignoring any NaNs.
- Parameters:
a (array_like) – Input array
axis (None or int, optional) – Axis or axes along which the standard deviation is computed. The default is to compute the standard deviation of the flattened array.
- Return type:
ndarray
See also