wadpac / GGIRread

Functions for reading accelerometer data files
https://CRAN.R-project.org/package=GGIRread
Apache License 2.0
5 stars 3 forks source link

Axivity AX6 when configured to not collect gyroscope data #31

Closed vincentvanhees closed 11 months ago

vincentvanhees commented 1 year ago

When Axivity AX6 is configured to not collect gyroscope data, the output of readAxivity still has gyroscope columns but they contain the accelerometer data.

Not a major issue as user should hopefully know that those gyroscope columns cannot represent gyroscope data, but a more elegant solution would be to not create those non-informative gyroscope columns if there is no gyroscope data.

So, the readAxivity function code should not only account for the scenarios AX3 or AX6 but also for AX6 without accelerometer and AX6 without gyroscope.

vincentvanhees commented 11 months ago

this issue has been addressed in #37