Skip to content

Commit b3b76ea

Browse files
Merge pull request #1013 from danibene/docs/pNNx
[Docs] Revise definition of pNN50 and pNN20
2 parents bc3f4f1 + c707088 commit b3b76ea

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

neurokit2/hrv/hrv_time.py

+9-4
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ def hrv_time(peaks, sampling_rate=1000, show=False, **kwargs):
7474
Frequency (LF/HF) Ratio (Sollers et al., 2007).
7575
* **Prc20NN**: The 20th percentile of the RR intervals (Han, 2017; Hovsepian, 2015).
7676
* **Prc80NN**: The 80th percentile of the RR intervals (Han, 2017; Hovsepian, 2015).
77-
* **pNN50**: The proportion of RR intervals greater than 50ms, out of the total number of
78-
RR intervals.
79-
* **pNN20**: The proportion of RR intervals greater than 20ms, out of the total number of
80-
RR intervals.
77+
* **pNN50**: The percentage of absolute differences in successive RR intervals greater than
78+
50 ms (Bigger et al., 1988; Mietus et al., 2002).
79+
* **pNN20**: The percentage of absolute differences in successive RR intervals greater than
80+
20 ms (Mietus et al., 2002).
8181
* **MinNN**: The minimum of the RR intervals (Parent, 2019; Subramaniam, 2022).
8282
* **MaxNN**: The maximum of the RR intervals (Parent, 2019; Subramaniam, 2022).
8383
* **TINN**: A geometrical parameter of the HRV, or more specifically, the baseline width of
@@ -111,6 +111,9 @@ def hrv_time(peaks, sampling_rate=1000, show=False, **kwargs):
111111
112112
References
113113
----------
114+
* Bigger Jr, J. T., Kleiger, R. E., Fleiss, J. L., Rolnitzky, L. M., Steinman, R. C., & Miller,
115+
J. P. (1988). Components of heart rate variability measured during healing of acute myocardial
116+
infarction. The American journal of cardiology, 61(4), 208-215.
114117
* Pham, T., Lau, Z. J., Chen, S. H. A., & Makowski, D. (2021). Heart Rate Variability in
115118
Psychology: A Review of HRV Indices and an Analysis Tutorial. Sensors, 21(12), 3998.
116119
https://doi.org/10.3390/s21123998
@@ -123,6 +126,8 @@ def hrv_time(peaks, sampling_rate=1000, show=False, **kwargs):
123126
towards a gold standard for continuous stress assessment in the mobile environment. In
124127
Proceedings of the 2015 ACM international joint conference on pervasive and ubiquitous
125128
computing (pp. 493-504).
129+
* Mietus, J. E., Peng, C. K., Henry, I., Goldsmith, R. L., & Goldberger, A. L. (2002). The pNNx
130+
files: re-examining a widely used heart rate variability measure. Heart, 88(4), 378-380.
126131
* Parent, M., Tiwari, A., Albuquerque, I., Gagnon, J. F., Lafond, D., Tremblay, S., & Falk, T.
127132
H. (2019). A multimodal approach to improve the robustness of physiological stress prediction
128133
during physical activity. In 2019 IEEE International Conference on Systems, Man and

0 commit comments

Comments
 (0)