bhelsel / agcounts

R package for extracting actigraphy counts from accelerometer data.
Other
9 stars 5 forks source link

Support more sampling rates #31

Open rouzbeh opened 6 months ago

rouzbeh commented 6 months ago

The python package now supports more sampling rates (32, 64, ...). The specific downsampling is done here

I believe this could be ported to R.

bhelsel commented 6 months ago

Thanks for the update, Ali. We don't currently use any devices that allow for those sampling rates at the University of Kansas. Do you have any files that you could share that would allow me to translate the code and check the results with Actilife-generated output?

rouzbeh commented 6 months ago

We have a few tests in the python package. For instance, this input should result in this output. There are also tests for intermediate steps here.

bhelsel commented 6 months ago

Thanks! I'll check it out and let you know if I have any questions.