pyhctsa.operations.entropy.approximate_entropy

pyhctsa.operations.entropy.approximate_entropy(x, mnom=1, rth=0.2)

Approximate entropy (ApEn) of a time series.

Computes \(\mathrm{ApEn}(m, r)\).

For details, see the PhysioNet documentation: https://physionet.org/physiotools/apen/

References

Parameters:
x : array-like

Input time series.

mnom : int, optional

Embedding dimension \(m\). Default is 1.

rth : float, optional

Similarity threshold \(r\). Default is 0.2.

Returns:

Approximate entropy value.

Return type:

float