You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ Lots of the functions used in generating these behavior tables were designed for
121
121
122
122
There are two behavior tables generated. Both contain a header line to store parameters used while calling the script.
123
123
124
-
Some features are optional, because calculating them can be expensive. These options are noted with an asterisk (\*). While default behavior is to include them, they are not guaranteed.
124
+
Some features are optional, because calculating them can be expensive or are controlled via optional arguments. These options are noted with an asterisk (\*). While default behavior is to include them, they are not guaranteed.
125
125
126
126
## Header Data
127
127
@@ -150,6 +150,11 @@ The bout table contains a compressed RLE encoded format for each bout (post-filt
150
150
*`0` : Not behavior prediction
151
151
*`1` : Behavior prediction
152
152
*`distance`\* : Distance traveled during bout
153
+
*`total_bout_count`\* : Number of behavior bouts per animal
154
+
*`avg_bout_duration`\* : Average bout all duration per animal
155
+
*`bout_duration_std`\* : Standard deviation of all bout durations
156
+
*`bout_duration_var`\* : Variance of all bout durations
157
+
*`latency_to_first_bout`\* : Frame number of first behavior bout
153
158
154
159
## Binned Table
155
160
@@ -168,6 +173,13 @@ Summaries included:
168
173
* If a bout spans multiple time bins, it will be divided into both via the proportion of time
169
174
* Sum of bouts across bins produces the correct total count
170
175
* Note that bouts cannot span between video files
176
+
*`_stats_sample_count` : Sample count used in stats calculation (count of whole and partial bouts in time bin)
177
+
*`avg_bout_duration` : Average bout duration per animal (in time bin)
178
+
*`bout_duration_std` : Standard deviation of bout durations (in time bin)
179
+
*`bout_duration_var` : Variance of bout durations (in time bin)
180
+
*`latency_to_first_prediction` : Frame number of first behavior prediction in the time bin
181
+
* Frame is relative to the experiment start, not the time bin
182
+
*`latency_to_last_prediction` : Frame number of last behavior prediction in the time bin
171
183
*`not_behavior_dist`\* : Total distance traveled during not behavior bouts
172
184
*`behavior_dist`\* : Total distance traveled during behavior bouts
Binned data describes event data as summaries. For each state, total time and distance travelled are provided. Additionally, the number of behavior events are counted.
904
+
Binned data describes event data as summaries.
905
+
For each state, total time and distance travelled are provided.
906
+
Additionally, the number of behavior events are counted.
906
907
Events that span multiple bins are split between them based on the percent in each, allowing fractional bout counts.
0 commit comments