pyActigraphy icon indicating copy to clipboard operation
pyActigraphy copied to clipboard

Batch function for extracting light data?

Open ChronoKatie opened this issue 3 years ago • 1 comments

Hi Grègory,

I've been in touch with a collaborator who has met with you to understand the light functionalities of the package, and I was just wondering if they have been adapted to run on batch files? I've only managed to get them to work on single files. I managed to write a loop - but this doesn't allow me to apply the start/stop times log.

TLDR: I am interested in the L5i, M10i and raw ambient light, ran as a batch with the SST log applied. You sent my collaborator a script for reports (which has a light label), which seem to have batch functionalities but I cannot get those to work, the error message says it doesn't work on batch files. Any guidance?

Thanks,

Katie

ChronoKatie avatar Jul 29 '22 09:07 ChronoKatie

Hello @ChronoKatie

From a general point of view, the light module is still being developed, so some functionalities might not accessible yet. Besides, development is some kind of never ending story. Which is a good point since new features can be added if they are use cases for those. More specifically, if you could provide me with a more concrete example of your workflow, I could help you out. Batch functionalities are convenient but ultimately, they are just wrappers around loops. Loops that I can help you to write explicitly.

ghammad avatar Aug 03 '22 09:08 ghammad