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 as a (z-scored) column vector.

tau : int or str, optional

The time-delay. If ‘tau’, it’s set to the first zero crossing of the autocorrelation function.

shape : str, optional

The shape to use. Currently only ‘circle’ is supported.

r : float, optional

The radius of the circle.

Returns:

A dictionary containing various statistics of the constructed time series.

Return type:

dict