Processing Axivity Data in GGIR

279 views
Skip to first unread message

Claire Goh

unread,
Jun 1, 2022, 1:32:37 AM6/1/22
to R package GGIR
Hello :) 

I have some .cwa files collected from Axivity devices that I need to process (I usually process .gt3x files on ggir, so am unsure how to go about with the .cwa files). Could I check if processing .cwa files in GGIR would be the same as processing .gt3x files? Do I need to specify that it is .cwa, and how I might be able to do so in the code? 

Thank you! :)

ben_m...@hotmail.com

unread,
Jun 1, 2022, 6:08:22 AM6/1/22
to R package GGIR
Hi Claire,

You treat .cwa files exactly the same as .gt3x or .csv files, to the extent that you can put both types of files into the same directory and it will run both fine. 
Just a note from a very experienced Axivity user - The cwa files take 2/3 times longer as they are converted in R prior to generating the part 1 meta files. After that they are the same speed :).

Kind regards,
Ben

Claire Goh

unread,
Jun 2, 2022, 2:02:25 AM6/2/22
to R package GGIR
Hi Ben, 

Thanks so much! Yeah, definitely noticed that it took longer (was a little concerned at the start).. 

Just wanted to also check, because I ran GGIR based on children cut-offs with an adult dataset, I shouldn't be getting any part2-5 outputs right? I only got the QC and visualization files outputs, but this would mean that the script is working right? (I only did this to see if the code was working with the .cwa files, and I haven't looked up on which cut-offs I wanted to use for the different activity profile since adult vs children cut-offs are usually different). 

Thanks so much for the advice :) 

Regards, 
Claire 

Vincent van Hees

unread,
Jun 2, 2022, 10:27:30 AM6/2/22
to Claire Goh, R package GGIR
Hi Clair,

If you only specified mode = 1, then you would indeed not expect any output files. Instrady you would find an empty folder structure with only the GGIR part 1 milestone data.

Regarding the speed of reading in gt3x and cwa: It may be worth highlighting that this is not direct a property of the accelerometer brands as such, but mainly driven by the open-source software used to read in the data. For gt3x we have been lucky that the open-source software is faster than the code we have for cwa.

If you think GGIR is too slow at reading in .cwa or any other data format then I think there is a good chance we can speed it up. In relation to GENEActiv bin files I am hoping to do some work on that this in the summer in collaboration with someone with more expertise in this area then myself. However, for Axivity I do not have an ongoing project for which I can easily justify working on this, yet. If you or someone else wants to work on this or has a budget to fund the effort then let me know.

Regards,

Vincent

Dr. Vincent van Hees | Independent consultant | https://accelting.com/
image

------- Original Message -------
--
You received this message because you are subscribed to the Google Groups "R package GGIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to RpackageGGIR...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/RpackageGGIR/324b7b02-2a7d-4571-82ab-40e46546693en%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages