Skip to main content

Devicely: A Python package for reading, timeshifting and writing sensor data.

Project description

pyOpenSci status PyPI version PyPI pyversions Actions Status: test Coverage Badge DOI Project Status: Active – The project has reached a stable, usable state and is being actively developed. Binder

Devicely Logo

Devicely is a Python package for reading, de-identifying and writing data from various health monitoring sensors. With devicely, you can read sensor data and have it easily accessible in dataframes. You can also de-identify data and write them back using their original data format. This makes it convenient to share sensor data with other researchers while mantaining people's privacy.

Documentation

PyPi

Conda-forge

Installation

PyPi (current release)

Installing devicely is as easy as executing:

pip install devicely

Conda-forge (current release)

To install devicelythrough conda-forge:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, devicely can be installed with:

conda install devicely

List all of the versions of devicely available on your platform with:

conda search devicely --channel conda-forge

Locally (development version)

git clone git@github.com:hpi-dhc/devicely.git
cd devicely
pip install .

Sneak Peek

All devices contain the following methods as exemplified through the EmpaticaReader:

empatica_reader = devicely.EmpaticaReader(path_to_empatica_files)
empatica_reader.timeshift()
empatica_reader.write(path_to_write_files)

You can also try this notebook with examples and sample data or check our binder:

Binder

Quick Start

To get started quickly, follow our quick-start guide.

Or check the full documentation: https://hpi-dhc.github.io/devicely/

Supported Sensors

  • Empatica E4 is a wearable device that offers real-time physiological data acquisition such as blood volume pulse, electrodermal activity (EDA), heart rate, interbeat intervals, 3-axis acceleration and skin temperature.

  • Biovotion Everion is a wearable device used for the continuous monitoring of vital signs. Currently, it measures the following vital signs: heart rate, blood pulse wave, heart rate variability, activity, SPO2, blood perfusion, respiration rate, steps, energy expenditure, skin temperature, EDA / galvanic skin response (GSR), barometric pressure and sleep.

  • 1-lead ECG monitor FarosTM 180 from Bittium is a one channel ECG monitor with sampling frequency up to 1000 Hz and a 3D acceleration sampling up to 100Hz.

  • Spacelabs (SL 90217) is an oscillometric blood pressure (BP) monitor which can be used to automatically track a person's BP in specificed time intervals.

  • TimeStamp for Android allows you to record the timestamp of an event at the time it occurs. It also allows you to create specific tags such as "Running" or "Walking" and timestamp those specific activities.

  • Shimmer Consensys GSR is a device that is used to collect sensor data in real time and it contains sensors such as GSR / EDA, photoplethysmography (PPG), 3-axis accelerometer, 3-axis gyroscope, 3-axis magnetometer & integrated altimeter.

  • Muse S headband is a consumer grade headband consisting of 4 electrodes electroencephalography (EEG) sensors, 3-axis accelerometer (ACC), gyroscope, and photoplethysmography (PPG) sensors.

How to Contribute

If you want to be part of this mission, please check our documentation on how to contribute here.

Authors

* Ariane Sasso
* Jost Morgenstern
* Felix Musmann
* Bert Arnrich

Contributors

* Arpita Kappattanavar
* Bjarne Pfitzner
* Lin Zhou
* Pascal Hecker
* Philipp Hildebrandt
* Sidratul Moontaha

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devicely-1.1.1.tar.gz (18.4 kB view hashes)

Uploaded Source

Built Distribution

devicely-1.1.1-py3-none-any.whl (21.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page