-
Notifications
You must be signed in to change notification settings - Fork 1
Heart Rate Variability Tools
License
kees/hrv-tools
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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.
About
Heart Rate Variability Tools
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published