INNER CODE UNIT · Python
is_one_dimensional
matrix-profile-foundation/matrixprofile · matrixprofile/core.py:105
def is_one_dimensional(a):
"""
Helper function to determine if value is one dimensional.
Parameters
----------
a : array_like
Object to test.
Returns
-------
True or false respectively.
"""
return a.ndim == 1
def get_profile_length(ts_a, ts_b, m):
"""