-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* checks and improves doc strings and doc string formatting * adds a background page to the documentation * fixes the copyright note * adds verbosity flag to CNN predictions and suppresses the tensorflow warnings when loading paat * exposes ENMO calculation * makes mvpa_cutpoint and sb_cutpoint mandatory arguments * adds extended example plus example data * renames test workflow to match with the other badges
- Loading branch information
Showing
16 changed files
with
497 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Run Unit Tests | ||
name: tests | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,73 @@ | ||
Background | ||
========== | ||
|
||
Accelerometers have become a popular assessment tool of physical activity over the last | ||
decades. The small body-worn sensors provide an easy and more objective alternative | ||
to classic questionaire-based assessment while simultaneously keeping the researcher and | ||
participant burden low. Especially, the field of raw data accelerometry, the analysis of | ||
the raw acceleration signals measured in g (1 g = 9.806 65 m s−2), has received great focus | ||
over the last years and is a rapidly advancing field. Many algorithms have been proposed | ||
the last years; Also by our lab. Simultaneously, openly available data to benchmark algorithms on | ||
is scarce due to privacy concerns. Nevertheless, new algorithms can only be adopted in | ||
research after rigorous external validation. | ||
|
||
.. warning:: | ||
While publishing code and, in the context of machine learning, trained models has become | ||
more common, this often does not automatically imply that the published code is easily | ||
usable for validation. Effectively, often reimplementations are necessary, even though | ||
they increase potential biases by incorrect implementation. For that reason, we developed | ||
*paat* as a simple and easy to use package to facilitate replicating and validating of our | ||
findings and prospectively to apply the algorithms in research. The package is structured | ||
according to the respective applications (io, preprocessing, features, wear time, sleep, | ||
estimation) and the methods easily applicable also in isolation. An overview over the | ||
different submodules can be found in the :doc:`API Documentation <paat>`. | ||
|
||
However, *paat* has already been used in various studies. Syed et al. [1]_, for | ||
instance, developed and used the general gt3x reading functionality and implemented | ||
and used the NWT algorithm from Van Hees et al. [2]_ for a comparison study of | ||
different NWT algorithms. Syed et al. [3]_ also used the functions to develop a new | ||
non-wear time algorithm which is now included in *paat*. Weitz et al. [4]_ used | ||
the package to load and process the acceleration data to investigate the effect of | ||
accelerometer calibration on physical activity in general and MVPA in particular. | ||
|
||
If you are using *paat* in research, feel free to cite it as | ||
|
||
Weitz, M., Syed, S., & Horsch A. (2024). PAAT: Physical Activity Analysis | ||
Toolbox for analysis of hip-worn raw accelerometer data | ||
|
||
If you are using BibTex you may want to use this example BibTex entry:: | ||
|
||
@misc{weitz_paat_2024, | ||
author = {Marc Weitz and | ||
Shaheen Syed and | ||
Alexander Horsch}, | ||
title = {PAAT: Physical Activity Analysis Toolbox for analysis | ||
of hip-worn raw accelerometer data}, | ||
year = 2024, | ||
url = {https://github.com/Trybnetic/paat} | ||
} | ||
|
||
This also helps us to keep this page up to date. | ||
|
||
|
||
---- | ||
|
||
.. [1] Syed, S., Morseth, B., Hopstock, L. A., & Horsch, A. (2020). Evaluating the | ||
performance of raw and epoch non-wear algorithms using multiple accelerometers | ||
and electrocardiogram recordings. *Scientific Reports*, 10(1), 1–18. | ||
https://doi.org/10.1038/s41598-020-62821-2 | ||
.. [2] Van Hees VT, Renström F, Wright A, Gradmark A, Catt M, et al. (2011) Estimation | ||
of Daily Energy Expenditure in Pregnant and Non-Pregnant Women Using a Wrist-Worn | ||
Tri-Axial Accelerometer. *PLOS ONE*, 6(7): e22922. | ||
https://doi.org/10.1371/journal.pone.0022922 | ||
.. [3] Syed, S., Morseth, B., Hopstock, L. A., & Horsch, A. (2021). A novel algorithm to | ||
detect non-wear time from raw accelerometer data using deep convolutional neural | ||
networks. *Scientific Reports*, 11(1), 8832. | ||
https://doi.org/10.1038/s41598-021-87757-z | ||
.. [4] Weitz, M., Morseth, B., Hopstock, L. A., & Horsch, A. (2024). Influence of | ||
Accelerometer Calibration on the Estimation of Objectively Measured Physical | ||
Activity: The Tromsø Study. *Journal for the Measurement of Physical Behaviour*, 7(1). | ||
https://doi.org/10.1123/jmpb.2023-0019 | ||
This page is currently under construction. Soon you find useful background info here as well as links to relevant papers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.