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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file devicely-1.1.1.tar.gz.

File metadata

  • Download URL: devicely-1.1.1.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for devicely-1.1.1.tar.gz
Algorithm Hash digest
SHA256 542983ecd3aed8b07f3c04ee953733fc3ac2aaf4e74f1ce034b789ada5bfc7bd
MD5 1835ba7068b3ad29bbacd4ef1040e54e
BLAKE2b-256 9fc483d41db0e587a8723b0d90ad6c264ca0e9880320a82ed696249f44a3020d

See more details on using hashes here.

File details

Details for the file devicely-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: devicely-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for devicely-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78434962f4a5e9bf47a399bc2413860965f8bb204818f837763dfb2006b3b7eb
MD5 60ee28761f0c0dd2f863d34c98625c3a
BLAKE2b-256 07cb3d2be1b80de6bdf238586c2ad20efc324fc0161d427b87b390b8fb075744

See more details on using hashes here.

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