paulhibbing / AGread

Read Accelerometer Files from ActiGraph Accelerometers
Other
15 stars 4 forks source link

Problem with latch/zero imputation for primary accelerometer data #8

Closed paulhibbing closed 5 years ago

paulhibbing commented 5 years ago

From this investigation it appears there are still differences between read_gt3x and read_AG_raw.

Some observations:

All of this seems to point to an issue with the way idle sleep mode and/or USB connection events are handled in read_gt3x. I suspect the current approach (latch one packet and fill the rest with 0's) applies only at the end of the file, and that any other gaps in the time series are filled exclusively by latching.

paulhibbing commented 5 years ago

That suggested approach doesn't quite work. In the file shared in #7, there is one gap in the middle of the file where the first packet is latched and the rest are filled with 0.