pyhctsa.operations.medical.pnn¶
- pyhctsa.operations.medical.pnn(x)¶
Compute pNNx measures of heart rate variability (HRV).
The pNNx metrics quantify the proportion of successive RR intervals that differ by more than x milliseconds, for x = 5, 10, 20, 30, …, 100. This function assumes the input x is a time series of consecutive RR intervals in seconds: the differences are multiplied by 1000 to convert them to milliseconds.
This measure is commonly used in clinical HRV analysis. It is not appropriate to apply this method to z-scored or otherwise normalized time series, as meaningful interpretation depends on absolute differences in time.
This implementation is derived from HRVClassic, with the spectral measures removed, focusing solely on pNNx.
Port of hctsa’s
MD_pNN, Copyright (C) 2016 Max A. Little and Ben D. Fulcher (GNU GPL, version 3 or later).References