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 : array-like

Time series to analyze.

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

The coarse-graining method to use:

  • ’quantile’: equiprobable alphabet by time-series value

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

Default is 'quantile'.

Returns:

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

Return type:

dict