pyhctsa.operations.medical.hrv_classic

pyhctsa.operations.medical.hrv_classic(y)

Compute classic heart rate variability (HRV) statistics.

This function computes a variety of standard time-domain, frequency-domain, and geometric HRV measures from a time series of RR (or NN) intervals. The input is typically assumed to be in seconds.

The following categories of HRV features are included:

1. pNNx measures Measures the proportion of interval differences greater than a given threshold x [1].

2. Frequency-domain measures Power spectral density ratios computed over standard frequency bands (e.g., LF, HF) [2].

3. Triangular histogram index A geometric measure of HRV based on the shape of the RR interval histogram.

4. Poincaré plot measures (SD1, SD2) Geometric descriptors of the Poincaré plot reflecting short- and long-term variability [3].

This implementation is adapted from original MATLAB code by Max A. Little (http://www.maxlittle.net/).

References

Parameters:
y : array-like

Input time series of RR intervals, assumed to be in seconds.

Returns:

out – Dictionary containing various HRV features, including pNNx statistics, frequency-domain power ratios, triangular index, and Poincaré measures.

Return type:

dict