-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
39 lines (29 loc) · 1.5 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
This script exports EliteHRV raw data to a .json file:
./elitehrv-sync.py hrv.json
Configure your username (email) and password in ~/.config/elitehrv.conf:
username=your-email@here
password=your-password-here
To analyze this with PhysioNet's hrv toolkit, fetch two more git trees
into this tree:
git clone https://github.com/kees/physionet-wfdb.git
(cd physionet-wfdb && git checkout fixes && ./configure && make)
git clone https://github.com/kees/physionet-hrv.git
(cd physionet-hrv && git checkout fixes &&
CC="gcc -I../physionet-wfdb/build/include -L../physionet-wfdb/build/lib" make)
The RRs (in msec) can be fed into PhysioNet's hrv toolkit for analysis:
for date in $(./rr-dump.py hrv.json | cut -d" " -f1); do
./rr-dump.py hrv.json $date > rr.dat
echo -n $date" "
(cd physionet-hrv; \
LD_LIBRARY_PATH=../physionet-wfdb/build/lib \
PATH=".:../physionet-wfdb/build/bin:$PATH" \
./get_hrv -mMR ../rr.dat 2>/dev/null) | grep rMSSD
done
EliteHRV takes short readings, so be aware, quoting
http://physionet.org/tutorials/hrv-toolkit/
Although the long term (24-hour) statistics of SDANN, SDNNIDX and
ULF power can be calculated for shorter data lengths, they will
become increasingly unreliable. For short-term data (less than 15
minutes in length), only the time domain measures of AVNN, SDNN,
rMSSD and pNN50 and the frequency domain measures of total power,
VLF power, HF power and LF/HF ratio should be used.