INNER CODE UNIT · Python
not_nan_inf_indices
matrix-profile-foundation/matrixprofile · matrixprofile/core.py:245
def not_nan_inf_indices(a):
"""
Helper method to obtain the non-nan/inf indices of an array.
Parameters
----------
a : array_like
The array to test.
Returns
-------
Masked array of indices containing not nan/inf.
"""
return (~nan_inf_indices(a))
def rolling_window(a, window):
"""