Skip to content

aserkash/hrvanalysis

Repository files navigation

Description

HRVSciHub implements the most known heart rate variability analysis techniques (Frequency and Time domains as well as nonlinear parameters ) with Django using the pyhrv tool for background heart rate analysis.

Basic usage

After registering the users are able to:

  • Add subjects to their study board

alt Dashboard-Home

  • Upload HRV marker files(supported by pyhrv) of their subjects and run the analysis

alt Upload-files-screenshot

In case you need test files you can find some Here alt Sample-test-files

For a particular subject, access their measurements data. alt Sample-list

Access results: alt Frequency-domain-results

alt Linear-domain-results

alt Nonlinear-results

  • Compare and export their subject data to pdf reports.

Restful Api with DRF

How to run locally

Set Required credentials and values

SECRET_KEY=""
EMAIL_HOST=""
EMAIL_PORT=""
EMAIL_HOST_USER=""
EMAIL_HOST_PASSWORD=""
CELERY_BROKER_URL=""

Set these by direclty modifying the hrvanalysis/hrvscihub/settings/local.py file.

Run migrations

python manage.py migrate

Starting the worker process

celery -A hrvscihub worker --loglevel=info

Start django local server

python manage.py runserver

The project is available at http://localhost:8000/

Note when activating the account locally: change the activation link from https to http.

Disclaimer

This program is distributed in the hope it will be useful and provided to you "as is", but WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is NOT intended for medical diagnosis. We expressly disclaim any liability whatsoever for any direct, indirect, consequential, incidental or special damages, including, without limitation, lost revenues, lost profits, losses resulting from business interruption or loss of data, regardless of the form of action or legal theory under which the liability may be asserted, even if advised of the possibility of such damages.