pyhctsa.operations.correlation.embed2_shapes¶
-
pyhctsa.operations.correlation.embed2_shapes(y, tau=
'tau', shape='circle', r=1.0)¶ Shape-based statistics in a 2-d embedding space.
Takes a shape and places it on each point in the two-dimensional time-delay embedding space sequentially. This function counts the points inside this shape as a function of time, and returns statistics on this extracted time series.
- Parameters:¶
- y : array-like¶
The input time-series (z-scored).
- tau : int or str, optional¶
The time-delay. If ‘tau’, it’s set to the first zero crossing of the autocorrelation function. Default is
'tau'.- shape : str, optional¶
The shape to use. Currently only ‘circle’ is supported. Default is
circle.- r : float, optional¶
The radius of the circle. Default is 1.0.
- Returns:¶
A dictionary containing various statistics of the constructed time series.
- Return type:¶
dict