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.
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 API Documentation.
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. Weitz et al. [5] used the package to load and process the data in order to train a machine learning model to identify time-in-bed episodes.
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. Zenodo. https://doi.org/10.5281/zenodo.13885749
If you are using BibTex you may want to use this example BibTex entry:
@misc{weitz_paat_2024,
title = {{PAAT}: {Physical} {Activity} {Analysis} {Toolbox}},
url = {https://doi.org/10.5281/zenodo.13885749},
publisher = {Zenodo},
author = {Weitz, Marc and Syed, Shaheen and Horsch, Alexander},
year = {2024},
doi = {10.5281/zenodo.13885749},
}
This also helps us to keep this page up to date.