SciKit Digital Health: Python Package for Streamlined Wearable Inertial Sensor Data Processing

JMIR Mhealth Uhealth. 2022 Apr 21;10(4):e36762. doi: 10.2196/36762.

Abstract

Wearable inertial sensors are providing enhanced insight into patient mobility and health. Significant research efforts have focused on wearable algorithm design and deployment in both research and clinical settings; however, open-source, general-purpose software tools for processing various activities of daily living are relatively scarce. Furthermore, few studies include code for replication or off-the-shelf software packages. In this work, we introduce SciKit Digital Health (SKDH), a Python software package (Python Software Foundation) containing various algorithms for deriving clinical features of gait, sit to stand, physical activity, and sleep, wrapped in an easily extensible framework. SKDH combines data ingestion, preprocessing, and data analysis methods geared toward modern data science workflows and streamlines the generation of digital endpoints in "good practice" environments by combining all the necessary data processing steps in a single pipeline. Our package simplifies the construction of new data processing pipelines and promotes reproducibility by following a convention over configuration approach, standardizing most settings on physiologically reasonable defaults in healthy adult populations or those with mild impairment. SKDH is open source, as well as free to use and extend under a permissive Massachusetts Institute of Technology license, and is available from GitHub (PfizerRD/scikit-digital-health), the Python Package Index, and the conda-forge channel of Anaconda.

Keywords: Python; algorithm; coding; computer programming; data science; digital biomarkers; digital medicine; gait; gait analysis; human movement analysis; machine learning; mobility; movement; open source; physical activity; sensor; sleep; software package; uHealth; wearable; wearable sensors.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Activities of Daily Living*
  • Adult
  • Algorithms
  • Humans
  • Reproducibility of Results
  • Software
  • Wearable Electronic Devices*