Extending new metrics to summaries table too#49
Merged
SkepticRaven merged 9 commits intomasterfrom Oct 22, 2025
Merged
Conversation
jacobbeierle
approved these changes
Oct 21, 2025
jacobbeierle
left a comment
There was a problem hiding this comment.
I like all these measures, which we talked about before developing. There is one more measure that would be useful for my opioid withdrawal work, which is latency to final bout. This would allow a quick and accessible measure of when jumping/recoil/etc behaviors resolve after precipitated withdrawal.
Contributor
Author
|
Chatted a bit with Gautam about what the actual proper technique should be for doing stats with partial representation of bouts. |
… the indexing reading
bergsalex
approved these changes
Oct 21, 2025
bergsalex
approved these changes
Oct 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements new stats to summary tables
Related: #39
Adds additional statistics to summary tables:
avg_bout_duration: Average bout duration per animalbout_duration_std: Standard deviation of bout durationsbout_duration_var: Variance of bout durationslatency_to_first_bout: Frame number of first prediction in bin (first frame of first bout)latency_to_last_prediction: Frame number of last prediction in bin (last frame of last bout)Patches: