ghammad / pyActigraphy

Python-based open source package for actigraphy data analysis

Home Page:https://ghammad.github.io/pyActigraphy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Batch function for extracting light data?

ChronoKatie opened this issue · 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

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.