pyhctsa.operations.entropy.sample_entropy¶
-
pyhctsa.operations.entropy.sample_entropy(y, m=
2, r=None, pre_process_how=None)¶ Compute Sample Entropy (SampEn) of a time series.
This function calculates SampEn for embedding dimensions from 0 to m. The implementation uses the PhysioNet C code (sampen.c by Doug Lake) [1] for efficiency and accuracy. Can specify to first apply an incremental differencing of the time series thus yielding the ‘Control Entropy’ [2].
References