All Projects → activityMonitoring → biobankAccelerometerAnalysis

activityMonitoring / biobankAccelerometerAnalysis

Licence: other
Extracting meaningful health information from large accelerometer datasets

Programming Languages

java
68154 projects - #9 most used programming language
python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects
shell
77523 projects

Projects that are alternatives of or similar to biobankAccelerometerAnalysis

ha strava
Pipe your Activity Data from Strava directly into Home Assistant
Stars: ✭ 63 (-43.75%)
Mutual labels:  fitness-tracker
Script My Workout
🏃 Programmable workouts from the comfort of your terminal 🏃
Stars: ✭ 19 (-83.04%)
Mutual labels:  fitness-tracker
garmin health
Python 3.x library to access Garmin Connect Health API
Stars: ✭ 32 (-71.43%)
Mutual labels:  fitness-tracker
AAT
Another Activity Tracker for Android
Stars: ✭ 137 (+22.32%)
Mutual labels:  activity-tracker
traindown
Public site
Stars: ✭ 35 (-68.75%)
Mutual labels:  fitness-tracker
traindown-dart
Dart (and Flutter) library for the Traindown Markup Language. This is the reference implementation for now. It is first to receive features and fixes.
Stars: ✭ 16 (-85.71%)
Mutual labels:  fitness-tracker
google fit hass
A Home assistant custom component to get your fitness information using Google Fitness API.
Stars: ✭ 23 (-79.46%)
Mutual labels:  fitness-tracker
data-at-hand-mobile
Mobile application for exploring fitness data using both speech and touch interaction.
Stars: ✭ 50 (-55.36%)
Mutual labels:  fitness-tracker
UKBB ldsc
Sample code for ldsc analyses in UKBB
Stars: ✭ 23 (-79.46%)
Mutual labels:  ukbiobank

Accelerometer data processing overview

Github all releases install flake8 junit gt3x cwa

A tool to extract meaningful health information from large accelerometer datasets. The software generates time-series and summary metrics useful for answering key questions such as how much time is spent in sleep, sedentary behaviour, or doing physical activity.

Installation

pip install accelerometer

You also need Java 8 (1.8.0) or greater. Check with the following:

java -version

You can try the following to check that everything works properly:

# Create an isolated environment
$ mkdir test_baa/ ; cd test_baa/
$ python -m venv baa
$ source baa/bin/activate

# Install and test
$ pip install accelerometer
$ wget -P data/ http://gas.ndph.ox.ac.uk/aidend/accModels/sample.cwa.gz  # download a sample file
$ accProcess data/sample.cwa.gz
$ accPlot data/sample-timeSeries.csv.gz

Usage

To extract summary movement statistics from an Axivity file (.cwa):

$ accProcess data/sample.cwa.gz

 <output written to data/sample-outputSummary.json>
 <time series output written to data/sample-timeSeries.csv.gz>

Movement statistics will be stored in a JSON file:

{
    "file-name": "sample.cwa.gz",
    "file-startTime": "2014-05-07 13:29:50",
    "file-endTime": "2014-05-13 09:49:50",
    "acc-overall-avg(mg)": 32.78149,
    "wearTime-overall(days)": 5.8,
    "nonWearTime-overall(days)": 0.04,
    "quality-goodWearTime": 1
}

See Data Dictionary for the list of output variables.

Actigraph and GENEActiv files are also supported, as well as custom CSV files. See Usage for more details.

To visualise the activity profile:

$ accPlot data/sample-timeSeries.csv.gz
 <output plot written to data/sample-timeSeries-plot.png>

Time series plot

Under the hood

Interpreted levels of physical activity can vary, as many approaches can be taken to extract summary physical activity information from raw accelerometer data. To minimise error and bias, our tool uses published methods to calibrate, resample, and summarise the accelerometer data.

Accelerometer data processing overview Activity classification

See Methods for more details.

Citing our work

When using this tool, please consider the works listed in CITATION.md.

Licence

See LICENSE.md.

Acknowledgements

We would like to thank all our code contributors and manuscript co-authors.

Contributors Graph

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].