Devicely

Devicely: A Python package for reading, timeshifting and writing sensor data - Published in JOSS (2021)

https://github.com/hpi-dhc/devicely

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Committers with academic emails
    1 of 7 committers (14.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software
Last synced: 6 months ago · JSON representation

Repository

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

Basic Info
Statistics
  • Stars: 16
  • Watchers: 4
  • Forks: 7
  • Open Issues: 3
  • Releases: 3
Created over 5 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog License

README.md

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

Citation

Sasso, A., Morgenstern, J., Musmann, F., & Arnrich, B. (2021). Devicely: A Python package for reading, timeshifting and writing sensor data. Journal of Open Source Software, 6(66), 3679. https://doi.org/10.21105/joss.03679

BibTeX

@article{Sasso2021, doi = {10.21105/joss.03679}, url = {https://doi.org/10.21105/joss.03679}, year = {2021}, publisher = {The Open Journal}, volume = {6}, number = {66}, pages = {3679}, author = {Ariane Sasso and Jost Morgenstern and Felix Musmann and Bert Arnrich}, title = {Devicely: A Python package for reading, timeshifting and writing sensor data}, journal = {Journal of Open Source Software} }

Owner

  • Name: Digital Health Center
  • Login: hpi-dhc
  • Kind: organization
  • Location: Potsdam, Germany

This GitHub organization hosts code for different research projects within the Digital Health Center at the HPI

JOSS Publication

Devicely: A Python package for reading, timeshifting and writing sensor data
Published
October 14, 2021
Volume 6, Issue 66, Page 3679
Authors
Ariane Sasso ORCID
Digital Health Center, Hasso Plattner Institute, University of Potsdam
Jost Morgenstern ORCID
Digital Health Center, Hasso Plattner Institute, University of Potsdam
Felix Musmann ORCID
Digital Health Center, Hasso Plattner Institute, University of Potsdam
Bert Arnrich ORCID
Digital Health Center, Hasso Plattner Institute, University of Potsdam
Editor
Prashant Jha ORCID
Tags
Wearables Sensors Health

GitHub Events

Total
Last Year

Committers

Last synced: 6 months ago

All Time
  • Total Commits: 319
  • Total Committers: 7
  • Avg Commits per committer: 45.571
  • Development Distribution Score (DDS): 0.574
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
jostmorgenstern J****n@s****e 136
Ariane Morassi Sasso a****o@h****e 113
Ariane Sasso a****o@g****m 58
Jost Morgenstern j****n@w****e 5
jostmorgenstern 4****n 4
firefly-cpp i****k@i****u 2
Harry Freitas da Cruz h****z@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 25
  • Total pull requests: 38
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 2 days
  • Total issue authors: 5
  • Total pull request authors: 6
  • Average comments per issue: 1.76
  • Average comments per pull request: 0.03
  • Merged pull requests: 32
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • luciorq (14)
  • arianesasso (8)
  • firefly-cpp (1)
  • agricolab (1)
  • jostmorgenstern (1)
Pull Request Authors
  • jostmorgenstern (30)
  • arianesasso (3)
  • firefly-cpp (2)
  • QuLogic (2)
  • anukaal (1)
  • jvm-lab (1)
Top Labels
Issue Labels
bug (5) documentation (2) test (2) warning (1)
Pull Request Labels
bug (2)

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 23 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 3
    (may contain duplicates)
  • Total versions: 11
  • Total maintainers: 2
pypi.org: devicely

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

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 23 Last month
Rankings
Dependent repos count: 8.9%
Dependent packages count: 10.1%
Forks count: 12.6%
Average: 14.8%
Stargazers count: 15.2%
Downloads: 27.3%
Maintainers (2)
Last synced: 6 months ago
conda-forge.org: devicely
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 34.0%
Forks count: 43.4%
Average: 44.4%
Stargazers count: 48.9%
Dependent packages count: 51.2%
Last synced: 6 months ago

Dependencies

poetry.lock pypi
  • alabaster 0.7.12 develop
  • appnope 0.1.2 develop
  • argcomplete 1.12.3 develop
  • argon2-cffi 21.1.0 develop
  • atomicwrites 1.4.0 develop
  • attrs 21.2.0 develop
  • babel 2.9.1 develop
  • backcall 0.2.0 develop
  • bleach 4.1.0 develop
  • certifi 2021.5.30 develop
  • cffi 1.14.6 develop
  • charset-normalizer 2.0.6 develop
  • colorama 0.4.4 develop
  • coverage 5.5 develop
  • debugpy 1.4.3 develop
  • decorator 5.1.0 develop
  • defusedxml 0.7.1 develop
  • docutils 0.16 develop
  • entrypoints 0.3 develop
  • idna 3.2 develop
  • imagesize 1.2.0 develop
  • iniconfig 1.1.1 develop
  • ipykernel 6.4.1 develop
  • ipython 7.28.0 develop
  • ipython-genutils 0.2.0 develop
  • ipywidgets 7.6.5 develop
  • jedi 0.18.0 develop
  • jinja2 3.0.1 develop
  • jsonschema 3.2.0 develop
  • jupyter 1.0.0 develop
  • jupyter-client 7.0.3 develop
  • jupyter-console 6.4.0 develop
  • jupyter-core 4.8.1 develop
  • jupyterlab-pygments 0.1.2 develop
  • jupyterlab-widgets 1.0.2 develop
  • markupsafe 2.0.1 develop
  • matplotlib-inline 0.1.3 develop
  • mistune 0.8.4 develop
  • nbclient 0.5.4 develop
  • nbconvert 6.2.0 develop
  • nbformat 5.1.3 develop
  • nbsphinx 0.8.7 develop
  • nest-asyncio 1.5.1 develop
  • notebook 6.4.4 develop
  • packaging 21.0 develop
  • pandocfilters 1.5.0 develop
  • parso 0.8.2 develop
  • pexpect 4.8.0 develop
  • pickleshare 0.7.5 develop
  • pluggy 1.0.0 develop
  • prometheus-client 0.11.0 develop
  • prompt-toolkit 3.0.20 develop
  • ptyprocess 0.7.0 develop
  • py 1.10.0 develop
  • pycparser 2.20 develop
  • pygments 2.10.0 develop
  • pyparsing 2.4.7 develop
  • pyrsistent 0.18.0 develop
  • pytest 6.2.5 develop
  • pywin32 301 develop
  • pywinpty 1.1.4 develop
  • pyzmq 22.3.0 develop
  • qtconsole 5.1.1 develop
  • qtpy 1.11.2 develop
  • requests 2.26.0 develop
  • send2trash 1.8.0 develop
  • snowballstemmer 2.1.0 develop
  • sphinx 4.2.0 develop
  • sphinx-rtd-theme 0.5.2 develop
  • sphinxcontrib-applehelp 1.0.2 develop
  • sphinxcontrib-devhelp 1.0.2 develop
  • sphinxcontrib-htmlhelp 2.0.0 develop
  • sphinxcontrib-jsmath 1.0.1 develop
  • sphinxcontrib-qthelp 1.0.3 develop
  • sphinxcontrib-serializinghtml 1.1.5 develop
  • terminado 0.12.1 develop
  • testpath 0.5.0 develop
  • toml 0.10.2 develop
  • tornado 6.1 develop
  • traitlets 5.1.0 develop
  • urllib3 1.26.7 develop
  • wcwidth 0.2.5 develop
  • webencodings 0.5.1 develop
  • widgetsnbextension 3.5.1 develop
  • importlib-metadata 1.7.0
  • numpy 1.21.1
  • pandas 1.3.3
  • pyedflib 0.1.22
  • python-dateutil 2.8.2
  • pytz 2021.1
  • six 1.16.0
  • zipp 3.5.0
pyproject.toml pypi
  • coverage ^5.5 develop
  • ipykernel ^6.0.3 develop
  • jupyter ^1.0.0 develop
  • nbsphinx ^0.8.6 develop
  • pytest ^6.2.4 develop
  • sphinx-rtd-theme ^0.5.2 develop
  • importlib-metadata ^1.0
  • numpy ^1.21.1
  • pandas ^1.3.0
  • pyEDFlib ^0.1.22
  • python ^3.7.1
.github/workflows/docs.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • snok/install-poetry v1 composite
.github/workflows/pypi.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • pypa/gh-action-pypi-publish release/v1 composite
  • snok/install-poetry v1 composite
.github/workflows/test.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • schneegans/dynamic-badges-action v1.0.0 composite
  • snok/install-poetry v1 composite
tests/Faros_test_data/testdir_read/meta.json cpan