boris-behav-obs 8.9.16__py3-none-any.whl → 9.7.6__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.

Potentially problematic release.


This version of boris-behav-obs might be problematic. Click here for more details.

Files changed (129) hide show
  1. boris/__init__.py +1 -1
  2. boris/__main__.py +1 -1
  3. boris/about.py +36 -39
  4. boris/add_modifier.py +122 -109
  5. boris/add_modifier_ui.py +239 -135
  6. boris/advanced_event_filtering.py +81 -45
  7. boris/analysis_plugins/__init__.py +0 -0
  8. boris/analysis_plugins/_latency.py +59 -0
  9. boris/analysis_plugins/irr_cohen_kappa.py +109 -0
  10. boris/analysis_plugins/irr_cohen_kappa_with_modifiers.py +112 -0
  11. boris/analysis_plugins/irr_weighted_cohen_kappa.py +157 -0
  12. boris/analysis_plugins/irr_weighted_cohen_kappa_with_modifiers.py +162 -0
  13. boris/analysis_plugins/list_of_dataframe_columns.py +22 -0
  14. boris/analysis_plugins/number_of_occurences.py +22 -0
  15. boris/analysis_plugins/number_of_occurences_by_independent_variable.py +54 -0
  16. boris/analysis_plugins/time_budget.py +61 -0
  17. boris/behav_coding_map_creator.py +228 -229
  18. boris/behavior_binary_table.py +33 -50
  19. boris/behaviors_coding_map.py +17 -18
  20. boris/boris_cli.py +6 -25
  21. boris/cmd_arguments.py +12 -1
  22. boris/coding_pad.py +42 -49
  23. boris/config.py +161 -77
  24. boris/config_file.py +63 -83
  25. boris/connections.py +112 -57
  26. boris/converters.py +13 -37
  27. boris/converters_ui.py +187 -110
  28. boris/cooccurence.py +250 -0
  29. boris/core.py +2511 -1824
  30. boris/core_qrc.py +15895 -10185
  31. boris/core_ui.py +946 -792
  32. boris/db_functions.py +21 -41
  33. boris/dev.py +134 -0
  34. boris/dialog.py +505 -244
  35. boris/duration_widget.py +15 -20
  36. boris/edit_event.py +84 -28
  37. boris/edit_event_ui.py +214 -78
  38. boris/event_operations.py +517 -415
  39. boris/events_cursor.py +25 -17
  40. boris/events_snapshots.py +36 -82
  41. boris/exclusion_matrix.py +4 -9
  42. boris/export_events.py +213 -583
  43. boris/export_observation.py +98 -611
  44. boris/external_processes.py +156 -97
  45. boris/geometric_measurement.py +652 -287
  46. boris/gui_utilities.py +91 -14
  47. boris/image_overlay.py +9 -9
  48. boris/import_observations.py +190 -98
  49. boris/ipc_mpv.py +325 -0
  50. boris/irr.py +26 -63
  51. boris/latency.py +34 -25
  52. boris/measurement_widget.py +14 -18
  53. boris/media_file.py +52 -84
  54. boris/menu_options.py +17 -6
  55. boris/modifier_coding_map_creator.py +1013 -0
  56. boris/modifiers_coding_map.py +7 -9
  57. boris/mpv.py +1 -0
  58. boris/mpv2.py +732 -705
  59. boris/observation.py +655 -310
  60. boris/observation_operations.py +1036 -404
  61. boris/observation_ui.py +584 -356
  62. boris/observations_list.py +71 -53
  63. boris/otx_parser.py +74 -80
  64. boris/param_panel.py +31 -16
  65. boris/param_panel_ui.py +254 -138
  66. boris/player_dock_widget.py +90 -60
  67. boris/plot_data_module.py +43 -46
  68. boris/plot_events.py +127 -90
  69. boris/plot_events_rt.py +17 -31
  70. boris/plot_spectrogram_rt.py +95 -30
  71. boris/plot_waveform_rt.py +32 -21
  72. boris/plugins.py +431 -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 +306 -83
  80. boris/preferences_ui.py +685 -228
  81. boris/project.py +448 -293
  82. boris/project_functions.py +689 -254
  83. boris/project_import_export.py +213 -222
  84. boris/project_ui.py +674 -438
  85. boris/qrc_boris.py +6 -3
  86. boris/qrc_boris5.py +6 -3
  87. boris/select_modifiers.py +74 -48
  88. boris/select_observations.py +20 -199
  89. boris/select_subj_behav.py +67 -39
  90. boris/state_events.py +53 -37
  91. boris/subjects_pad.py +6 -9
  92. boris/synthetic_time_budget.py +45 -28
  93. boris/time_budget_functions.py +171 -171
  94. boris/time_budget_widget.py +84 -114
  95. boris/transitions.py +41 -47
  96. boris/utilities.py +766 -266
  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 +125 -28
  101. boris/view_df.py +104 -0
  102. boris/view_df_ui.py +75 -0
  103. boris/write_event.py +538 -0
  104. boris_behav_obs-9.7.6.dist-info/METADATA +139 -0
  105. boris_behav_obs-9.7.6.dist-info/RECORD +109 -0
  106. {boris_behav_obs-8.9.16.dist-info → boris_behav_obs-9.7.6.dist-info}/WHEEL +1 -1
  107. boris_behav_obs-9.7.6.dist-info/entry_points.txt +2 -0
  108. boris/README.TXT +0 -22
  109. boris/add_modifier.ui +0 -323
  110. boris/boris_ui.py +0 -886
  111. boris/converters.ui +0 -289
  112. boris/core.qrc +0 -35
  113. boris/core.ui +0 -1543
  114. boris/edit_event.ui +0 -175
  115. boris/icons/logo_eye.ico +0 -0
  116. boris/map_creator.py +0 -850
  117. boris/observation.ui +0 -773
  118. boris/param_panel.ui +0 -379
  119. boris/preferences.ui +0 -537
  120. boris/project.ui +0 -1069
  121. boris/project_server.py +0 -236
  122. boris/vlc.py +0 -10343
  123. boris/vlc_local.py +0 -90
  124. boris_behav_obs-8.9.16.dist-info/LICENSE.TXT +0 -674
  125. boris_behav_obs-8.9.16.dist-info/METADATA +0 -129
  126. boris_behav_obs-8.9.16.dist-info/RECORD +0 -108
  127. boris_behav_obs-8.9.16.dist-info/entry_points.txt +0 -2
  128. {boris → boris_behav_obs-9.7.6.dist-info/licenses}/LICENSE.TXT +0 -0
  129. {boris_behav_obs-8.9.16.dist-info → boris_behav_obs-9.7.6.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>