Open jkbhagatio opened 1 year ago
Hi, @jkbhagatio . I believe some of these are implemented here:
number of foraging bouts - (https://github.com/SainsburyWellcomeCentre/aeon_mecha/blob/05240430f82bf2a7e1e9cb0dd421bc9f55ecf46d/aeon/dj_pipeline/utils/plotting.py#L345)
number of food pellets - (https://github.com/SainsburyWellcomeCentre/aeon_mecha/blob/05240430f82bf2a7e1e9cb0dd421bc9f55ecf46d/aeon/dj_pipeline/analysis/visit_analysis.py#L487).
Do you have something else in mind? You're welcome to modify/update this code.
ah nice, cool. So I guess we'd still need to add some code to get like distribution of food pellets in bout? Ostensibly all we'd need is an easy way to get all bout start and end times, and find number of pellets delivered within these times.
For example, given some time thresholds, how many bouts occurred per day and how many pellets per each bout, segregated by animal and patch.
I can write up some functions that do this - leaving this issue as a placeholder for now.