boris-behav-obs 8.16.5__py3-none-any.whl → 9.7.12__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. boris/__init__.py +1 -1
  2. boris/__main__.py +1 -1
  3. boris/about.py +28 -40
  4. boris/add_modifier.py +88 -80
  5. boris/add_modifier_ui.py +266 -144
  6. boris/advanced_event_filtering.py +23 -29
  7. boris/analysis_plugins/__init__.py +0 -0
  8. boris/analysis_plugins/_export_to_feral.py +225 -0
  9. boris/analysis_plugins/_latency.py +59 -0
  10. boris/analysis_plugins/irr_cohen_kappa.py +109 -0
  11. boris/analysis_plugins/irr_cohen_kappa_with_modifiers.py +112 -0
  12. boris/analysis_plugins/irr_weighted_cohen_kappa.py +157 -0
  13. boris/analysis_plugins/irr_weighted_cohen_kappa_with_modifiers.py +162 -0
  14. boris/analysis_plugins/list_of_dataframe_columns.py +22 -0
  15. boris/analysis_plugins/number_of_occurences.py +22 -0
  16. boris/analysis_plugins/number_of_occurences_by_independent_variable.py +54 -0
  17. boris/analysis_plugins/time_budget.py +61 -0
  18. boris/behav_coding_map_creator.py +235 -236
  19. boris/behavior_binary_table.py +33 -50
  20. boris/behaviors_coding_map.py +17 -18
  21. boris/boris_cli.py +6 -25
  22. boris/cmd_arguments.py +12 -1
  23. boris/coding_pad.py +19 -36
  24. boris/config.py +109 -50
  25. boris/config_file.py +58 -67
  26. boris/connections.py +105 -58
  27. boris/converters.py +13 -37
  28. boris/converters_ui.py +187 -110
  29. boris/cooccurence.py +250 -0
  30. boris/core.py +2174 -1303
  31. boris/core_qrc.py +15892 -10829
  32. boris/core_ui.py +941 -806
  33. boris/db_functions.py +17 -42
  34. boris/dev.py +27 -7
  35. boris/dialog.py +461 -242
  36. boris/duration_widget.py +9 -14
  37. boris/edit_event.py +61 -31
  38. boris/edit_event_ui.py +208 -97
  39. boris/event_operations.py +405 -281
  40. boris/events_cursor.py +25 -17
  41. boris/events_snapshots.py +36 -82
  42. boris/exclusion_matrix.py +4 -9
  43. boris/export_events.py +180 -203
  44. boris/export_observation.py +60 -73
  45. boris/external_processes.py +123 -98
  46. boris/geometric_measurement.py +427 -218
  47. boris/gui_utilities.py +91 -14
  48. boris/image_overlay.py +4 -4
  49. boris/import_observations.py +190 -98
  50. boris/ipc_mpv.py +325 -0
  51. boris/irr.py +20 -57
  52. boris/latency.py +31 -24
  53. boris/measurement_widget.py +14 -18
  54. boris/media_file.py +17 -19
  55. boris/menu_options.py +16 -6
  56. boris/modifier_coding_map_creator.py +1013 -0
  57. boris/modifiers_coding_map.py +7 -9
  58. boris/mpv2.py +128 -35
  59. boris/observation.py +501 -211
  60. boris/observation_operations.py +1037 -393
  61. boris/observation_ui.py +573 -363
  62. boris/observations_list.py +51 -58
  63. boris/otx_parser.py +74 -68
  64. boris/param_panel.py +45 -59
  65. boris/param_panel_ui.py +254 -138
  66. boris/player_dock_widget.py +91 -56
  67. boris/plot_data_module.py +20 -53
  68. boris/plot_events.py +56 -153
  69. boris/plot_events_rt.py +16 -30
  70. boris/plot_spectrogram_rt.py +83 -56
  71. boris/plot_waveform_rt.py +27 -49
  72. boris/plugins.py +468 -0
  73. boris/portion/__init__.py +18 -8
  74. boris/portion/const.py +35 -18
  75. boris/portion/dict.py +5 -5
  76. boris/portion/func.py +2 -2
  77. boris/portion/interval.py +21 -41
  78. boris/portion/io.py +41 -32
  79. boris/preferences.py +307 -123
  80. boris/preferences_ui.py +686 -227
  81. boris/project.py +294 -271
  82. boris/project_functions.py +626 -537
  83. boris/project_import_export.py +204 -213
  84. boris/project_ui.py +673 -441
  85. boris/qrc_boris.py +6 -3
  86. boris/qrc_boris5.py +6 -3
  87. boris/select_modifiers.py +62 -90
  88. boris/select_observations.py +19 -197
  89. boris/select_subj_behav.py +67 -39
  90. boris/state_events.py +51 -33
  91. boris/subjects_pad.py +7 -9
  92. boris/synthetic_time_budget.py +42 -26
  93. boris/time_budget_functions.py +169 -169
  94. boris/time_budget_widget.py +77 -89
  95. boris/transitions.py +41 -41
  96. boris/utilities.py +594 -226
  97. boris/version.py +3 -3
  98. boris/video_equalizer.py +16 -14
  99. boris/video_equalizer_ui.py +199 -130
  100. boris/video_operations.py +86 -28
  101. boris/view_df.py +104 -0
  102. boris/view_df_ui.py +75 -0
  103. boris/write_event.py +240 -136
  104. boris_behav_obs-9.7.12.dist-info/METADATA +139 -0
  105. boris_behav_obs-9.7.12.dist-info/RECORD +110 -0
  106. {boris_behav_obs-8.16.5.dist-info → boris_behav_obs-9.7.12.dist-info}/WHEEL +1 -1
  107. boris_behav_obs-9.7.12.dist-info/entry_points.txt +2 -0
  108. boris/README.TXT +0 -22
  109. boris/add_modifier.ui +0 -323
  110. boris/converters.ui +0 -289
  111. boris/core.qrc +0 -37
  112. boris/core.ui +0 -1571
  113. boris/edit_event.ui +0 -233
  114. boris/icons/logo_eye.ico +0 -0
  115. boris/map_creator.py +0 -982
  116. boris/observation.ui +0 -814
  117. boris/param_panel.ui +0 -379
  118. boris/preferences.ui +0 -537
  119. boris/project.ui +0 -1074
  120. boris/vlc_local.py +0 -90
  121. boris_behav_obs-8.16.5.dist-info/LICENSE.TXT +0 -674
  122. boris_behav_obs-8.16.5.dist-info/METADATA +0 -134
  123. boris_behav_obs-8.16.5.dist-info/RECORD +0 -107
  124. boris_behav_obs-8.16.5.dist-info/entry_points.txt +0 -2
  125. {boris → boris_behav_obs-9.7.12.dist-info/licenses}/LICENSE.TXT +0 -0
  126. {boris_behav_obs-8.16.5.dist-info → boris_behav_obs-9.7.12.dist-info}/top_level.txt +0 -0
boris/param_panel.ui DELETED
@@ -1,379 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <ui version="4.0">
3
- <class>Dialog</class>
4
- <widget class="QDialog" name="Dialog">
5
- <property name="geometry">
6
- <rect>
7
- <x>0</x>
8
- <y>0</y>
9
- <width>1037</width>
10
- <height>890</height>
11
- </rect>
12
- </property>
13
- <property name="windowTitle">
14
- <string>Parameters</string>
15
- </property>
16
- <layout class="QVBoxLayout" name="verticalLayout_4">
17
- <item>
18
- <layout class="QVBoxLayout" name="verticalLayout_2">
19
- <item>
20
- <widget class="QLabel" name="lbSubjects">
21
- <property name="text">
22
- <string>Subjects</string>
23
- </property>
24
- </widget>
25
- </item>
26
- <item>
27
- <layout class="QHBoxLayout" name="horizontalLayout_3">
28
- <item>
29
- <widget class="QPushButton" name="pbSelectAllSubjects">
30
- <property name="text">
31
- <string>Select all</string>
32
- </property>
33
- </widget>
34
- </item>
35
- <item>
36
- <widget class="QPushButton" name="pbUnselectAllSubjects">
37
- <property name="text">
38
- <string>Unselect all</string>
39
- </property>
40
- </widget>
41
- </item>
42
- <item>
43
- <widget class="QPushButton" name="pbReverseSubjectsSelection">
44
- <property name="text">
45
- <string>Reverse selection</string>
46
- </property>
47
- </widget>
48
- </item>
49
- <item>
50
- <spacer name="horizontalSpacer_4">
51
- <property name="orientation">
52
- <enum>Qt::Horizontal</enum>
53
- </property>
54
- <property name="sizeHint" stdset="0">
55
- <size>
56
- <width>40</width>
57
- <height>20</height>
58
- </size>
59
- </property>
60
- </spacer>
61
- </item>
62
- </layout>
63
- </item>
64
- <item>
65
- <widget class="QListWidget" name="lwSubjects"/>
66
- </item>
67
- <item>
68
- <widget class="QLabel" name="lbBehaviors">
69
- <property name="text">
70
- <string>Behaviors</string>
71
- </property>
72
- </widget>
73
- </item>
74
- <item>
75
- <layout class="QHBoxLayout" name="horizontalLayout_4">
76
- <item>
77
- <widget class="QPushButton" name="pbSelectAllBehaviors">
78
- <property name="text">
79
- <string>Select all</string>
80
- </property>
81
- </widget>
82
- </item>
83
- <item>
84
- <widget class="QPushButton" name="pbUnselectAllBehaviors">
85
- <property name="text">
86
- <string>Unselect all</string>
87
- </property>
88
- </widget>
89
- </item>
90
- <item>
91
- <widget class="QPushButton" name="pbReverseBehaviorsSelection">
92
- <property name="text">
93
- <string>Reverse selection</string>
94
- </property>
95
- </widget>
96
- </item>
97
- <item>
98
- <spacer name="horizontalSpacer_5">
99
- <property name="orientation">
100
- <enum>Qt::Horizontal</enum>
101
- </property>
102
- <property name="sizeHint" stdset="0">
103
- <size>
104
- <width>40</width>
105
- <height>20</height>
106
- </size>
107
- </property>
108
- </spacer>
109
- </item>
110
- </layout>
111
- </item>
112
- <item>
113
- <widget class="QListWidget" name="lwBehaviors"/>
114
- </item>
115
- <item>
116
- <layout class="QHBoxLayout" name="horizontalLayout_9">
117
- <item>
118
- <widget class="QCheckBox" name="cbIncludeModifiers">
119
- <property name="text">
120
- <string>Include modifiers</string>
121
- </property>
122
- </widget>
123
- </item>
124
- <item>
125
- <widget class="QCheckBox" name="cbExcludeBehaviors">
126
- <property name="text">
127
- <string>Exclude behaviors without events</string>
128
- </property>
129
- </widget>
130
- </item>
131
- <item>
132
- <spacer name="horizontalSpacer_7">
133
- <property name="orientation">
134
- <enum>Qt::Horizontal</enum>
135
- </property>
136
- <property name="sizeHint" stdset="0">
137
- <size>
138
- <width>40</width>
139
- <height>20</height>
140
- </size>
141
- </property>
142
- </spacer>
143
- </item>
144
- </layout>
145
- </item>
146
- <item>
147
- <widget class="QFrame" name="frm_time_bin_size">
148
- <property name="frameShape">
149
- <enum>QFrame::StyledPanel</enum>
150
- </property>
151
- <property name="frameShadow">
152
- <enum>QFrame::Raised</enum>
153
- </property>
154
- <layout class="QHBoxLayout" name="horizontalLayout_8">
155
- <item>
156
- <layout class="QHBoxLayout" name="horizontalLayout_7">
157
- <item>
158
- <widget class="QLabel" name="lb_time_bin_size">
159
- <property name="text">
160
- <string>Time bin size (s)</string>
161
- </property>
162
- </widget>
163
- </item>
164
- <item>
165
- <widget class="QSpinBox" name="sb_time_bin_size">
166
- <property name="maximum">
167
- <number>86400</number>
168
- </property>
169
- <property name="singleStep">
170
- <number>10</number>
171
- </property>
172
- </widget>
173
- </item>
174
- <item>
175
- <spacer name="horizontalSpacer_8">
176
- <property name="orientation">
177
- <enum>Qt::Horizontal</enum>
178
- </property>
179
- <property name="sizeHint" stdset="0">
180
- <size>
181
- <width>40</width>
182
- <height>20</height>
183
- </size>
184
- </property>
185
- </spacer>
186
- </item>
187
- </layout>
188
- </item>
189
- </layout>
190
- </widget>
191
- </item>
192
- <item>
193
- <widget class="QFrame" name="frm_time">
194
- <property name="frameShape">
195
- <enum>QFrame::StyledPanel</enum>
196
- </property>
197
- <property name="frameShadow">
198
- <enum>QFrame::Raised</enum>
199
- </property>
200
- <layout class="QVBoxLayout" name="verticalLayout_3">
201
- <item>
202
- <widget class="QLabel" name="lb_time_interval">
203
- <property name="text">
204
- <string>Time interval</string>
205
- </property>
206
- </widget>
207
- </item>
208
- <item>
209
- <layout class="QHBoxLayout" name="horizontalLayout_5">
210
- <item>
211
- <widget class="QRadioButton" name="rb_observed_events">
212
- <property name="text">
213
- <string>Observed events</string>
214
- </property>
215
- </widget>
216
- </item>
217
- <item>
218
- <widget class="QRadioButton" name="rb_user_defined">
219
- <property name="text">
220
- <string>User defined</string>
221
- </property>
222
- </widget>
223
- </item>
224
- <item>
225
- <widget class="QRadioButton" name="rb_media_duration">
226
- <property name="text">
227
- <string>Media file(s) duration</string>
228
- </property>
229
- <property name="checkable">
230
- <bool>true</bool>
231
- </property>
232
- <property name="checked">
233
- <bool>false</bool>
234
- </property>
235
- </widget>
236
- </item>
237
- <item>
238
- <spacer name="horizontalSpacer_3">
239
- <property name="orientation">
240
- <enum>Qt::Horizontal</enum>
241
- </property>
242
- <property name="sizeHint" stdset="0">
243
- <size>
244
- <width>40</width>
245
- <height>20</height>
246
- </size>
247
- </property>
248
- </spacer>
249
- </item>
250
- </layout>
251
- </item>
252
- <item>
253
- <widget class="QFrame" name="frm_time_interval">
254
- <property name="frameShape">
255
- <enum>QFrame::StyledPanel</enum>
256
- </property>
257
- <property name="frameShadow">
258
- <enum>QFrame::Raised</enum>
259
- </property>
260
- <layout class="QVBoxLayout" name="verticalLayout">
261
- <item>
262
- <layout class="QHBoxLayout" name="horizontalLayout">
263
- <item>
264
- <widget class="QLabel" name="lbStartTime">
265
- <property name="text">
266
- <string>Start time</string>
267
- </property>
268
- </widget>
269
- </item>
270
- <item>
271
- <widget class="QLabel" name="label_2">
272
- <property name="text">
273
- <string/>
274
- </property>
275
- </widget>
276
- </item>
277
- <item>
278
- <spacer name="horizontalSpacer_2">
279
- <property name="orientation">
280
- <enum>Qt::Horizontal</enum>
281
- </property>
282
- <property name="sizeHint" stdset="0">
283
- <size>
284
- <width>40</width>
285
- <height>20</height>
286
- </size>
287
- </property>
288
- </spacer>
289
- </item>
290
- </layout>
291
- </item>
292
- <item>
293
- <layout class="QHBoxLayout" name="horizontalLayout_6">
294
- <item>
295
- <widget class="QLabel" name="lbEndTime">
296
- <property name="text">
297
- <string>End time</string>
298
- </property>
299
- </widget>
300
- </item>
301
- <item>
302
- <widget class="QLabel" name="label_3">
303
- <property name="text">
304
- <string/>
305
- </property>
306
- </widget>
307
- </item>
308
- <item>
309
- <spacer name="horizontalSpacer_6">
310
- <property name="orientation">
311
- <enum>Qt::Horizontal</enum>
312
- </property>
313
- <property name="sizeHint" stdset="0">
314
- <size>
315
- <width>40</width>
316
- <height>20</height>
317
- </size>
318
- </property>
319
- </spacer>
320
- </item>
321
- </layout>
322
- </item>
323
- <item>
324
- <spacer name="verticalSpacer">
325
- <property name="orientation">
326
- <enum>Qt::Vertical</enum>
327
- </property>
328
- <property name="sizeHint" stdset="0">
329
- <size>
330
- <width>20</width>
331
- <height>40</height>
332
- </size>
333
- </property>
334
- </spacer>
335
- </item>
336
- </layout>
337
- </widget>
338
- </item>
339
- </layout>
340
- </widget>
341
- </item>
342
- <item>
343
- <layout class="QHBoxLayout" name="horizontalLayout_2">
344
- <item>
345
- <spacer name="horizontalSpacer">
346
- <property name="orientation">
347
- <enum>Qt::Horizontal</enum>
348
- </property>
349
- <property name="sizeHint" stdset="0">
350
- <size>
351
- <width>40</width>
352
- <height>20</height>
353
- </size>
354
- </property>
355
- </spacer>
356
- </item>
357
- <item>
358
- <widget class="QPushButton" name="pbCancel">
359
- <property name="text">
360
- <string>Cancel</string>
361
- </property>
362
- </widget>
363
- </item>
364
- <item>
365
- <widget class="QPushButton" name="pbOK">
366
- <property name="text">
367
- <string>OK</string>
368
- </property>
369
- </widget>
370
- </item>
371
- </layout>
372
- </item>
373
- </layout>
374
- </item>
375
- </layout>
376
- </widget>
377
- <resources/>
378
- <connections/>
379
- </ui>