pyhctsa.operations.symbolic.motif_three

pyhctsa.operations.symbolic.motif_three(y, cg_how='quantile')

Motifs in a coarse-graining of a time series to a 3-letter alphabet.

Parameters:
y : np.ndarray

Time series to analyze.

cg_how : {'quantile', 'diffquant'}, optional

The coarse-graining method to use:

  • ’quantile’: equiprobable alphabet by time-series value (default)

  • ’diffquant’: equiprobably alphabet by time-series increments

Returns:

Statistics on words of length 1, 2, 3, and 4.

Return type:

dict