misleep 0.3.0__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.
- misleep/__init__.py +111 -0
- misleep/__main__.py +16 -0
- misleep/analysis/__init__.py +23 -0
- misleep/analysis/auto_stage.py +158 -0
- misleep/analysis/detection.py +198 -0
- misleep/analysis/features.py +131 -0
- misleep/analysis/models/P30_EEG_F_lightgbm.pkl +0 -0
- misleep/analysis/models/P30_EEG_P_lightgbm.pkl +0 -0
- misleep/analysis/models/__init__.py +0 -0
- misleep/analysis/models/ado_EEG_F_lightgbm.pkl +0 -0
- misleep/analysis/models/ado_EEG_P_lightgbm.pkl +0 -0
- misleep/analysis/models/adult_EEG_F_lightgbm.pkl +0 -0
- misleep/analysis/models/adult_EEG_P_lightgbm.pkl +0 -0
- misleep/analysis/transformer/__init__.py +46 -0
- misleep/analysis/transformer/checkpoints/CausalTransformer_best.pt +0 -0
- misleep/analysis/transformer/checkpoints/__init__.py +0 -0
- misleep/analysis/transformer/configs.py +52 -0
- misleep/analysis/transformer/data.py +362 -0
- misleep/analysis/transformer/inference.py +328 -0
- misleep/analysis/transformer/models.py +220 -0
- misleep/analysis/transformer/preprocessing.py +105 -0
- misleep/config/__init__.py +105 -0
- misleep/config/default_config.ini +38 -0
- misleep/data/__init__.py +13 -0
- misleep/data/annotation.py +114 -0
- misleep/data/midata.py +387 -0
- misleep/gui/__init__.py +23 -0
- misleep/gui/app.py +183 -0
- misleep/gui/config_dialog.py +429 -0
- misleep/gui/dialogs.py +1107 -0
- misleep/gui/event_filters.py +26 -0
- misleep/gui/main_window.py +2699 -0
- misleep/gui/qt_utils.py +277 -0
- misleep/gui/resources/__init__.py +9 -0
- misleep/gui/resources/entire_logo.png +0 -0
- misleep/gui/resources/logo.png +0 -0
- misleep/gui/resources/misleep.ico +0 -0
- misleep/gui/resources/misleep.qrc +7 -0
- misleep/gui/resources/misleep_rc.py +1324 -0
- misleep/gui/spec_window.py +187 -0
- misleep/gui/style.py +994 -0
- misleep/gui/uis/SWA_detect_dialog.ui +181 -0
- misleep/gui/uis/SWA_detect_dialog_ui.py +176 -0
- misleep/gui/uis/__init__.py +6 -0
- misleep/gui/uis/about.ui +88 -0
- misleep/gui/uis/about_ui.py +80 -0
- misleep/gui/uis/auto_stage_causalTransformer_dialog.ui +77 -0
- misleep/gui/uis/auto_stage_causalTransformer_dialog_ui.py +90 -0
- misleep/gui/uis/auto_stage_lightGBM_dialog.ui +124 -0
- misleep/gui/uis/auto_stage_lightGBM_dialog_ui.py +124 -0
- misleep/gui/uis/horizontal_line_dialog.ui +166 -0
- misleep/gui/uis/horizontal_line_dialog_ui.py +157 -0
- misleep/gui/uis/label_dialog.ui +65 -0
- misleep/gui/uis/label_dialog_ui.py +72 -0
- misleep/gui/uis/main_window.ui +871 -0
- misleep/gui/uis/main_window_ui.py +616 -0
- misleep/gui/uis/save_data_dialog.ui +95 -0
- misleep/gui/uis/save_data_dialog_ui.py +98 -0
- misleep/gui/uis/spec_window.ui +109 -0
- misleep/gui/uis/spec_window_ui.py +103 -0
- misleep/gui/uis/spindle_detect_dialog.ui +202 -0
- misleep/gui/uis/spindle_detect_dialog_ui.py +194 -0
- misleep/gui/uis/state_spectral_dialog.ui +240 -0
- misleep/gui/uis/state_spectral_dialog_ui.py +204 -0
- misleep/gui/uis/transfer_result_dialog.ui +104 -0
- misleep/gui/uis/transfer_result_dialog_ui.py +94 -0
- misleep/gui/workers.py +69 -0
- misleep/io/__init__.py +68 -0
- misleep/io/annotation.py +367 -0
- misleep/io/array.py +209 -0
- misleep/io/base.py +174 -0
- misleep/io/edf.py +109 -0
- misleep/io/mat.py +189 -0
- misleep/logger.py +79 -0
- misleep/preprocessing/__init__.py +23 -0
- misleep/preprocessing/artifacts.py +76 -0
- misleep/preprocessing/filtering.py +94 -0
- misleep/preprocessing/segment.py +59 -0
- misleep/preprocessing/spectral.py +169 -0
- misleep/utils/__init__.py +45 -0
- misleep/utils/annotation.py +130 -0
- misleep/utils/entropy.py +135 -0
- misleep/utils/misc.py +69 -0
- misleep/utils/time_utils.py +61 -0
- misleep/viz/__init__.py +12 -0
- misleep/viz/hypnogram.py +48 -0
- misleep/viz/signals.py +51 -0
- misleep/viz/spectral.py +98 -0
- misleep-0.3.0.dist-info/METADATA +249 -0
- misleep-0.3.0.dist-info/RECORD +94 -0
- misleep-0.3.0.dist-info/WHEEL +5 -0
- misleep-0.3.0.dist-info/entry_points.txt +15 -0
- misleep-0.3.0.dist-info/licenses/LICENSE +29 -0
- misleep-0.3.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,871 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<ui version="4.0">
|
|
3
|
+
<class>MiSleep</class>
|
|
4
|
+
<widget class="QMainWindow" name="MiSleep">
|
|
5
|
+
<property name="geometry">
|
|
6
|
+
<rect>
|
|
7
|
+
<x>0</x>
|
|
8
|
+
<y>0</y>
|
|
9
|
+
<width>1451</width>
|
|
10
|
+
<height>971</height>
|
|
11
|
+
</rect>
|
|
12
|
+
</property>
|
|
13
|
+
<property name="focusPolicy">
|
|
14
|
+
<enum>Qt::WheelFocus</enum>
|
|
15
|
+
</property>
|
|
16
|
+
<property name="windowTitle">
|
|
17
|
+
<string>MiSleep</string>
|
|
18
|
+
</property>
|
|
19
|
+
<property name="windowIcon">
|
|
20
|
+
<iconset resource="../resources/misleep.qrc">
|
|
21
|
+
<normaloff>:/logo/logo.png</normaloff>:/logo/logo.png</iconset>
|
|
22
|
+
</property>
|
|
23
|
+
<property name="toolButtonStyle">
|
|
24
|
+
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
|
25
|
+
</property>
|
|
26
|
+
<property name="animated">
|
|
27
|
+
<bool>true</bool>
|
|
28
|
+
</property>
|
|
29
|
+
<property name="documentMode">
|
|
30
|
+
<bool>true</bool>
|
|
31
|
+
</property>
|
|
32
|
+
<property name="tabShape">
|
|
33
|
+
<enum>QTabWidget::Rounded</enum>
|
|
34
|
+
</property>
|
|
35
|
+
<property name="dockNestingEnabled">
|
|
36
|
+
<bool>false</bool>
|
|
37
|
+
</property>
|
|
38
|
+
<property name="dockOptions">
|
|
39
|
+
<set>QMainWindow::AllowTabbedDocks|QMainWindow::AnimatedDocks|QMainWindow::GroupedDragging</set>
|
|
40
|
+
</property>
|
|
41
|
+
<widget class="QWidget" name="centralwidget">
|
|
42
|
+
<layout class="QGridLayout" name="gridLayout_3">
|
|
43
|
+
<item row="2" column="0">
|
|
44
|
+
<widget class="QScrollArea" name="HypnoArea">
|
|
45
|
+
<property name="minimumSize">
|
|
46
|
+
<size>
|
|
47
|
+
<width>0</width>
|
|
48
|
+
<height>120</height>
|
|
49
|
+
</size>
|
|
50
|
+
</property>
|
|
51
|
+
<property name="maximumSize">
|
|
52
|
+
<size>
|
|
53
|
+
<width>16777215</width>
|
|
54
|
+
<height>130</height>
|
|
55
|
+
</size>
|
|
56
|
+
</property>
|
|
57
|
+
<property name="widgetResizable">
|
|
58
|
+
<bool>true</bool>
|
|
59
|
+
</property>
|
|
60
|
+
<widget class="QWidget" name="scrollAreaWidgetContents_2">
|
|
61
|
+
<property name="geometry">
|
|
62
|
+
<rect>
|
|
63
|
+
<x>0</x>
|
|
64
|
+
<y>0</y>
|
|
65
|
+
<width>1069</width>
|
|
66
|
+
<height>128</height>
|
|
67
|
+
</rect>
|
|
68
|
+
</property>
|
|
69
|
+
</widget>
|
|
70
|
+
</widget>
|
|
71
|
+
</item>
|
|
72
|
+
<item row="0" column="0">
|
|
73
|
+
<widget class="QScrollArea" name="SignalArea">
|
|
74
|
+
<property name="minimumSize">
|
|
75
|
+
<size>
|
|
76
|
+
<width>700</width>
|
|
77
|
+
<height>500</height>
|
|
78
|
+
</size>
|
|
79
|
+
</property>
|
|
80
|
+
<property name="widgetResizable">
|
|
81
|
+
<bool>true</bool>
|
|
82
|
+
</property>
|
|
83
|
+
<widget class="QWidget" name="scrollAreaWidgetContents">
|
|
84
|
+
<property name="geometry">
|
|
85
|
+
<rect>
|
|
86
|
+
<x>0</x>
|
|
87
|
+
<y>0</y>
|
|
88
|
+
<width>1069</width>
|
|
89
|
+
<height>756</height>
|
|
90
|
+
</rect>
|
|
91
|
+
</property>
|
|
92
|
+
</widget>
|
|
93
|
+
</widget>
|
|
94
|
+
</item>
|
|
95
|
+
<item row="1" column="0">
|
|
96
|
+
<widget class="QScrollBar" name="ScrollerBar">
|
|
97
|
+
<property name="tracking">
|
|
98
|
+
<bool>false</bool>
|
|
99
|
+
</property>
|
|
100
|
+
<property name="orientation">
|
|
101
|
+
<enum>Qt::Horizontal</enum>
|
|
102
|
+
</property>
|
|
103
|
+
</widget>
|
|
104
|
+
</item>
|
|
105
|
+
</layout>
|
|
106
|
+
</widget>
|
|
107
|
+
<widget class="QDockWidget" name="MetaDock">
|
|
108
|
+
<property name="minimumSize">
|
|
109
|
+
<size>
|
|
110
|
+
<width>347</width>
|
|
111
|
+
<height>134</height>
|
|
112
|
+
</size>
|
|
113
|
+
</property>
|
|
114
|
+
<property name="features">
|
|
115
|
+
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
|
|
116
|
+
</property>
|
|
117
|
+
<property name="windowTitle">
|
|
118
|
+
<string>Meta</string>
|
|
119
|
+
</property>
|
|
120
|
+
<attribute name="dockWidgetArea">
|
|
121
|
+
<number>2</number>
|
|
122
|
+
</attribute>
|
|
123
|
+
<widget class="QWidget" name="dockWidgetContents_3">
|
|
124
|
+
<layout class="QFormLayout" name="formLayout">
|
|
125
|
+
<item row="0" column="0">
|
|
126
|
+
<widget class="QLabel" name="label_4">
|
|
127
|
+
<property name="text">
|
|
128
|
+
<string>Data path:</string>
|
|
129
|
+
</property>
|
|
130
|
+
</widget>
|
|
131
|
+
</item>
|
|
132
|
+
<item row="0" column="1">
|
|
133
|
+
<widget class="QLineEdit" name="DataPathEdit">
|
|
134
|
+
<property name="readOnly">
|
|
135
|
+
<bool>true</bool>
|
|
136
|
+
</property>
|
|
137
|
+
</widget>
|
|
138
|
+
</item>
|
|
139
|
+
<item row="1" column="0">
|
|
140
|
+
<widget class="QLabel" name="AnnotationPathLabel">
|
|
141
|
+
<property name="text">
|
|
142
|
+
<string>Annotation path:</string>
|
|
143
|
+
</property>
|
|
144
|
+
</widget>
|
|
145
|
+
</item>
|
|
146
|
+
<item row="1" column="1">
|
|
147
|
+
<widget class="QLineEdit" name="AnnoPathEdit">
|
|
148
|
+
<property name="readOnly">
|
|
149
|
+
<bool>true</bool>
|
|
150
|
+
</property>
|
|
151
|
+
</widget>
|
|
152
|
+
</item>
|
|
153
|
+
<item row="2" column="0">
|
|
154
|
+
<widget class="QLabel" name="label_6">
|
|
155
|
+
<property name="text">
|
|
156
|
+
<string>Acquisition Time:</string>
|
|
157
|
+
</property>
|
|
158
|
+
</widget>
|
|
159
|
+
</item>
|
|
160
|
+
<item row="2" column="1">
|
|
161
|
+
<widget class="QDateTimeEdit" name="AcTimeEdit">
|
|
162
|
+
<property name="enabled">
|
|
163
|
+
<bool>true</bool>
|
|
164
|
+
</property>
|
|
165
|
+
<property name="readOnly">
|
|
166
|
+
<bool>true</bool>
|
|
167
|
+
</property>
|
|
168
|
+
<property name="keyboardTracking">
|
|
169
|
+
<bool>false</bool>
|
|
170
|
+
</property>
|
|
171
|
+
<property name="displayFormat">
|
|
172
|
+
<string>yyyy/MM/dd HH:mm:ss</string>
|
|
173
|
+
</property>
|
|
174
|
+
</widget>
|
|
175
|
+
</item>
|
|
176
|
+
</layout>
|
|
177
|
+
</widget>
|
|
178
|
+
</widget>
|
|
179
|
+
<widget class="QDockWidget" name="ChannelDock">
|
|
180
|
+
<property name="sizePolicy">
|
|
181
|
+
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
|
|
182
|
+
<horstretch>0</horstretch>
|
|
183
|
+
<verstretch>0</verstretch>
|
|
184
|
+
</sizepolicy>
|
|
185
|
+
</property>
|
|
186
|
+
<property name="minimumSize">
|
|
187
|
+
<size>
|
|
188
|
+
<width>318</width>
|
|
189
|
+
<height>487</height>
|
|
190
|
+
</size>
|
|
191
|
+
</property>
|
|
192
|
+
<property name="layoutDirection">
|
|
193
|
+
<enum>Qt::LeftToRight</enum>
|
|
194
|
+
</property>
|
|
195
|
+
<property name="features">
|
|
196
|
+
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
|
|
197
|
+
</property>
|
|
198
|
+
<property name="windowTitle">
|
|
199
|
+
<string>Channel</string>
|
|
200
|
+
</property>
|
|
201
|
+
<attribute name="dockWidgetArea">
|
|
202
|
+
<number>2</number>
|
|
203
|
+
</attribute>
|
|
204
|
+
<widget class="QWidget" name="dockWidgetContents_4">
|
|
205
|
+
<layout class="QGridLayout" name="gridLayout">
|
|
206
|
+
<item row="10" column="0" colspan="3">
|
|
207
|
+
<widget class="Line" name="line_2">
|
|
208
|
+
<property name="orientation">
|
|
209
|
+
<enum>Qt::Horizontal</enum>
|
|
210
|
+
</property>
|
|
211
|
+
</widget>
|
|
212
|
+
</item>
|
|
213
|
+
<item row="1" column="1">
|
|
214
|
+
<widget class="QDoubleSpinBox" name="PercentileSpin">
|
|
215
|
+
<property name="decimals">
|
|
216
|
+
<number>1</number>
|
|
217
|
+
</property>
|
|
218
|
+
<property name="singleStep">
|
|
219
|
+
<double>0.100000000000000</double>
|
|
220
|
+
</property>
|
|
221
|
+
</widget>
|
|
222
|
+
</item>
|
|
223
|
+
<item row="9" column="0" colspan="3">
|
|
224
|
+
<widget class="QPushButton" name="FilterConfirmBt">
|
|
225
|
+
<property name="text">
|
|
226
|
+
<string>Filter</string>
|
|
227
|
+
</property>
|
|
228
|
+
</widget>
|
|
229
|
+
</item>
|
|
230
|
+
<item row="8" column="2">
|
|
231
|
+
<widget class="QDoubleSpinBox" name="FilterHighSpin">
|
|
232
|
+
<property name="keyboardTracking">
|
|
233
|
+
<bool>false</bool>
|
|
234
|
+
</property>
|
|
235
|
+
<property name="decimals">
|
|
236
|
+
<number>1</number>
|
|
237
|
+
</property>
|
|
238
|
+
<property name="minimum">
|
|
239
|
+
<double>0.200000000000000</double>
|
|
240
|
+
</property>
|
|
241
|
+
<property name="maximum">
|
|
242
|
+
<double>10000.000000000000000</double>
|
|
243
|
+
</property>
|
|
244
|
+
<property name="singleStep">
|
|
245
|
+
<double>0.100000000000000</double>
|
|
246
|
+
</property>
|
|
247
|
+
<property name="value">
|
|
248
|
+
<double>30.000000000000000</double>
|
|
249
|
+
</property>
|
|
250
|
+
</widget>
|
|
251
|
+
</item>
|
|
252
|
+
<item row="13" column="2">
|
|
253
|
+
<widget class="QPushButton" name="ShiftDownBt">
|
|
254
|
+
<property name="text">
|
|
255
|
+
<string>Down</string>
|
|
256
|
+
</property>
|
|
257
|
+
</widget>
|
|
258
|
+
</item>
|
|
259
|
+
<item row="13" column="0">
|
|
260
|
+
<widget class="QLabel" name="label_2">
|
|
261
|
+
<property name="text">
|
|
262
|
+
<string>Shift:</string>
|
|
263
|
+
</property>
|
|
264
|
+
</widget>
|
|
265
|
+
</item>
|
|
266
|
+
<item row="14" column="0" colspan="3">
|
|
267
|
+
<widget class="Line" name="line_3">
|
|
268
|
+
<property name="orientation">
|
|
269
|
+
<enum>Qt::Horizontal</enum>
|
|
270
|
+
</property>
|
|
271
|
+
</widget>
|
|
272
|
+
</item>
|
|
273
|
+
<item row="8" column="0">
|
|
274
|
+
<widget class="QComboBox" name="FilterTypeCombo">
|
|
275
|
+
<item>
|
|
276
|
+
<property name="text">
|
|
277
|
+
<string>BandPass</string>
|
|
278
|
+
</property>
|
|
279
|
+
</item>
|
|
280
|
+
<item>
|
|
281
|
+
<property name="text">
|
|
282
|
+
<string>HighPass</string>
|
|
283
|
+
</property>
|
|
284
|
+
</item>
|
|
285
|
+
<item>
|
|
286
|
+
<property name="text">
|
|
287
|
+
<string>LowPass</string>
|
|
288
|
+
</property>
|
|
289
|
+
</item>
|
|
290
|
+
<item>
|
|
291
|
+
<property name="text">
|
|
292
|
+
<string>BandStop</string>
|
|
293
|
+
</property>
|
|
294
|
+
</item>
|
|
295
|
+
</widget>
|
|
296
|
+
</item>
|
|
297
|
+
<item row="15" column="0" colspan="3">
|
|
298
|
+
<widget class="QPushButton" name="PlotSpecBt">
|
|
299
|
+
<property name="text">
|
|
300
|
+
<string>Plot spectrum</string>
|
|
301
|
+
</property>
|
|
302
|
+
</widget>
|
|
303
|
+
</item>
|
|
304
|
+
<item row="11" column="2">
|
|
305
|
+
<widget class="QPushButton" name="ScalerDownBt">
|
|
306
|
+
<property name="text">
|
|
307
|
+
<string>-</string>
|
|
308
|
+
</property>
|
|
309
|
+
</widget>
|
|
310
|
+
</item>
|
|
311
|
+
<item row="13" column="1">
|
|
312
|
+
<widget class="QPushButton" name="ShiftUpBt">
|
|
313
|
+
<property name="text">
|
|
314
|
+
<string>Up</string>
|
|
315
|
+
</property>
|
|
316
|
+
</widget>
|
|
317
|
+
</item>
|
|
318
|
+
<item row="8" column="1">
|
|
319
|
+
<widget class="QDoubleSpinBox" name="FilterLowSpin">
|
|
320
|
+
<property name="keyboardTracking">
|
|
321
|
+
<bool>false</bool>
|
|
322
|
+
</property>
|
|
323
|
+
<property name="decimals">
|
|
324
|
+
<number>1</number>
|
|
325
|
+
</property>
|
|
326
|
+
<property name="minimum">
|
|
327
|
+
<double>0.200000000000000</double>
|
|
328
|
+
</property>
|
|
329
|
+
<property name="maximum">
|
|
330
|
+
<double>10000.000000000000000</double>
|
|
331
|
+
</property>
|
|
332
|
+
<property name="singleStep">
|
|
333
|
+
<double>0.100000000000000</double>
|
|
334
|
+
</property>
|
|
335
|
+
</widget>
|
|
336
|
+
</item>
|
|
337
|
+
<item row="6" column="1">
|
|
338
|
+
<widget class="QPushButton" name="HideChBt">
|
|
339
|
+
<property name="text">
|
|
340
|
+
<string>Hide</string>
|
|
341
|
+
</property>
|
|
342
|
+
</widget>
|
|
343
|
+
</item>
|
|
344
|
+
<item row="12" column="2">
|
|
345
|
+
<widget class="QPushButton" name="MultipleScalerConfirmBt">
|
|
346
|
+
<property name="text">
|
|
347
|
+
<string>Apply</string>
|
|
348
|
+
</property>
|
|
349
|
+
</widget>
|
|
350
|
+
</item>
|
|
351
|
+
<item row="11" column="1">
|
|
352
|
+
<widget class="QPushButton" name="ScalerUpBt">
|
|
353
|
+
<property name="text">
|
|
354
|
+
<string>+</string>
|
|
355
|
+
</property>
|
|
356
|
+
</widget>
|
|
357
|
+
</item>
|
|
358
|
+
<item row="6" column="2">
|
|
359
|
+
<widget class="QPushButton" name="DeleteChBt">
|
|
360
|
+
<property name="text">
|
|
361
|
+
<string>Delete</string>
|
|
362
|
+
</property>
|
|
363
|
+
</widget>
|
|
364
|
+
</item>
|
|
365
|
+
<item row="6" column="0">
|
|
366
|
+
<widget class="QPushButton" name="ShowChBt">
|
|
367
|
+
<property name="text">
|
|
368
|
+
<string>Show</string>
|
|
369
|
+
</property>
|
|
370
|
+
</widget>
|
|
371
|
+
</item>
|
|
372
|
+
<item row="0" column="0" colspan="3">
|
|
373
|
+
<widget class="QPushButton" name="DefaultCh4SpecBt">
|
|
374
|
+
<property name="text">
|
|
375
|
+
<string>Default channel for spectrogram</string>
|
|
376
|
+
</property>
|
|
377
|
+
</widget>
|
|
378
|
+
</item>
|
|
379
|
+
<item row="1" column="0">
|
|
380
|
+
<widget class="QLabel" name="label_3">
|
|
381
|
+
<property name="text">
|
|
382
|
+
<string>Percentile:</string>
|
|
383
|
+
</property>
|
|
384
|
+
</widget>
|
|
385
|
+
</item>
|
|
386
|
+
<item row="1" column="2">
|
|
387
|
+
<widget class="QWidget" name="MoveChPanel">
|
|
388
|
+
<layout class="QHBoxLayout" name="moveChLayout">
|
|
389
|
+
<property name="spacing">
|
|
390
|
+
<number>2</number>
|
|
391
|
+
</property>
|
|
392
|
+
<item>
|
|
393
|
+
<widget class="QLabel" name="MoveLabel">
|
|
394
|
+
<property name="text">
|
|
395
|
+
<string>Move:</string>
|
|
396
|
+
</property>
|
|
397
|
+
<property name="toolTip">
|
|
398
|
+
<string>Move the selected channel up / down in the list</string>
|
|
399
|
+
</property>
|
|
400
|
+
</widget>
|
|
401
|
+
</item>
|
|
402
|
+
<item>
|
|
403
|
+
<widget class="QPushButton" name="MoveUpBt">
|
|
404
|
+
<property name="text">
|
|
405
|
+
<string>▲</string>
|
|
406
|
+
</property>
|
|
407
|
+
<property name="minimumSize">
|
|
408
|
+
<size>
|
|
409
|
+
<width>24</width>
|
|
410
|
+
<height>24</height>
|
|
411
|
+
</size>
|
|
412
|
+
</property>
|
|
413
|
+
<property name="maximumSize">
|
|
414
|
+
<size>
|
|
415
|
+
<width>24</width>
|
|
416
|
+
<height>24</height>
|
|
417
|
+
</size>
|
|
418
|
+
</property>
|
|
419
|
+
<property name="toolTip">
|
|
420
|
+
<string>Move selected channel up</string>
|
|
421
|
+
</property>
|
|
422
|
+
</widget>
|
|
423
|
+
</item>
|
|
424
|
+
<item>
|
|
425
|
+
<widget class="QPushButton" name="MoveDownBt">
|
|
426
|
+
<property name="text">
|
|
427
|
+
<string>▼</string>
|
|
428
|
+
</property>
|
|
429
|
+
<property name="minimumSize">
|
|
430
|
+
<size>
|
|
431
|
+
<width>24</width>
|
|
432
|
+
<height>24</height>
|
|
433
|
+
</size>
|
|
434
|
+
</property>
|
|
435
|
+
<property name="maximumSize">
|
|
436
|
+
<size>
|
|
437
|
+
<width>24</width>
|
|
438
|
+
<height>24</height>
|
|
439
|
+
</size>
|
|
440
|
+
</property>
|
|
441
|
+
<property name="toolTip">
|
|
442
|
+
<string>Move selected channel down</string>
|
|
443
|
+
</property>
|
|
444
|
+
</widget>
|
|
445
|
+
</item>
|
|
446
|
+
</layout>
|
|
447
|
+
</widget>
|
|
448
|
+
</item>
|
|
449
|
+
<item row="11" column="0">
|
|
450
|
+
<widget class="QLabel" name="label">
|
|
451
|
+
<property name="text">
|
|
452
|
+
<string>Scaler:</string>
|
|
453
|
+
</property>
|
|
454
|
+
</widget>
|
|
455
|
+
</item>
|
|
456
|
+
<item row="7" column="0" colspan="3">
|
|
457
|
+
<widget class="Line" name="line">
|
|
458
|
+
<property name="orientation">
|
|
459
|
+
<enum>Qt::Horizontal</enum>
|
|
460
|
+
</property>
|
|
461
|
+
</widget>
|
|
462
|
+
</item>
|
|
463
|
+
<item row="12" column="1">
|
|
464
|
+
<widget class="QDoubleSpinBox" name="multipleScalerEditor">
|
|
465
|
+
<property name="decimals">
|
|
466
|
+
<number>3</number>
|
|
467
|
+
</property>
|
|
468
|
+
<property name="minimum">
|
|
469
|
+
<double>0.001000000000000</double>
|
|
470
|
+
</property>
|
|
471
|
+
<property name="maximum">
|
|
472
|
+
<double>200.000000000000000</double>
|
|
473
|
+
</property>
|
|
474
|
+
<property name="value">
|
|
475
|
+
<double>1.000000000000000</double>
|
|
476
|
+
</property>
|
|
477
|
+
</widget>
|
|
478
|
+
</item>
|
|
479
|
+
<item row="4" column="0" colspan="3">
|
|
480
|
+
<widget class="QListView" name="ChListView">
|
|
481
|
+
<property name="tabKeyNavigation">
|
|
482
|
+
<bool>false</bool>
|
|
483
|
+
</property>
|
|
484
|
+
<property name="showDropIndicator" stdset="0">
|
|
485
|
+
<bool>false</bool>
|
|
486
|
+
</property>
|
|
487
|
+
<property name="dragEnabled">
|
|
488
|
+
<bool>false</bool>
|
|
489
|
+
</property>
|
|
490
|
+
<property name="dragDropMode">
|
|
491
|
+
<enum>QAbstractItemView::NoDragDrop</enum>
|
|
492
|
+
</property>
|
|
493
|
+
<property name="defaultDropAction">
|
|
494
|
+
<enum>Qt::CopyAction</enum>
|
|
495
|
+
</property>
|
|
496
|
+
<property name="selectionMode">
|
|
497
|
+
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
498
|
+
</property>
|
|
499
|
+
<property name="selectionBehavior">
|
|
500
|
+
<enum>QAbstractItemView::SelectItems</enum>
|
|
501
|
+
</property>
|
|
502
|
+
<property name="verticalScrollMode">
|
|
503
|
+
<enum>QAbstractItemView::ScrollPerItem</enum>
|
|
504
|
+
</property>
|
|
505
|
+
<property name="movement">
|
|
506
|
+
<enum>QListView::Static</enum>
|
|
507
|
+
</property>
|
|
508
|
+
<property name="isWrapping" stdset="0">
|
|
509
|
+
<bool>false</bool>
|
|
510
|
+
</property>
|
|
511
|
+
</widget>
|
|
512
|
+
</item>
|
|
513
|
+
</layout>
|
|
514
|
+
</widget>
|
|
515
|
+
</widget>
|
|
516
|
+
<widget class="QDockWidget" name="AnnotationDock">
|
|
517
|
+
<property name="minimumSize">
|
|
518
|
+
<size>
|
|
519
|
+
<width>353</width>
|
|
520
|
+
<height>191</height>
|
|
521
|
+
</size>
|
|
522
|
+
</property>
|
|
523
|
+
<property name="features">
|
|
524
|
+
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
|
|
525
|
+
</property>
|
|
526
|
+
<property name="windowTitle">
|
|
527
|
+
<string>Annotation</string>
|
|
528
|
+
</property>
|
|
529
|
+
<attribute name="dockWidgetArea">
|
|
530
|
+
<number>2</number>
|
|
531
|
+
</attribute>
|
|
532
|
+
<widget class="QWidget" name="dockWidgetContents_5">
|
|
533
|
+
<layout class="QGridLayout" name="gridLayout_2">
|
|
534
|
+
<item row="4" column="2">
|
|
535
|
+
<widget class="QPushButton" name="WakeBt">
|
|
536
|
+
<property name="text">
|
|
537
|
+
<string>3:Wake</string>
|
|
538
|
+
</property>
|
|
539
|
+
</widget>
|
|
540
|
+
</item>
|
|
541
|
+
<item row="3" column="3">
|
|
542
|
+
<widget class="QPushButton" name="REMBt">
|
|
543
|
+
<property name="text">
|
|
544
|
+
<string>2:REM</string>
|
|
545
|
+
</property>
|
|
546
|
+
</widget>
|
|
547
|
+
</item>
|
|
548
|
+
<item row="4" column="3">
|
|
549
|
+
<widget class="QPushButton" name="InitBt">
|
|
550
|
+
<property name="text">
|
|
551
|
+
<string>4:Init</string>
|
|
552
|
+
</property>
|
|
553
|
+
</widget>
|
|
554
|
+
</item>
|
|
555
|
+
<item row="1" column="3">
|
|
556
|
+
<widget class="QPushButton" name="LabelBt">
|
|
557
|
+
<property name="text">
|
|
558
|
+
<string>Label</string>
|
|
559
|
+
</property>
|
|
560
|
+
</widget>
|
|
561
|
+
</item>
|
|
562
|
+
<item row="1" column="2">
|
|
563
|
+
<widget class="QRadioButton" name="StartEndRadio">
|
|
564
|
+
<property name="text">
|
|
565
|
+
<string>Start-End</string>
|
|
566
|
+
</property>
|
|
567
|
+
</widget>
|
|
568
|
+
</item>
|
|
569
|
+
<item row="2" column="0" colspan="4">
|
|
570
|
+
<widget class="Line" name="line_5">
|
|
571
|
+
<property name="orientation">
|
|
572
|
+
<enum>Qt::Horizontal</enum>
|
|
573
|
+
</property>
|
|
574
|
+
</widget>
|
|
575
|
+
</item>
|
|
576
|
+
<item row="3" column="0">
|
|
577
|
+
<widget class="QRadioButton" name="SleepStateRadio">
|
|
578
|
+
<property name="text">
|
|
579
|
+
<string>Sleep state</string>
|
|
580
|
+
</property>
|
|
581
|
+
</widget>
|
|
582
|
+
</item>
|
|
583
|
+
<item row="5" column="0" colspan="4">
|
|
584
|
+
<widget class="QWidget" name="SaveRowPanel">
|
|
585
|
+
<layout class="QHBoxLayout" name="saveRowLayout">
|
|
586
|
+
<property name="spacing">
|
|
587
|
+
<number>2</number>
|
|
588
|
+
</property>
|
|
589
|
+
<item>
|
|
590
|
+
<widget class="QPushButton" name="SaveLabelBt">
|
|
591
|
+
<property name="text">
|
|
592
|
+
<string>Save annotation</string>
|
|
593
|
+
</property>
|
|
594
|
+
</widget>
|
|
595
|
+
</item>
|
|
596
|
+
<item>
|
|
597
|
+
<widget class="QPushButton" name="MarkerListBt">
|
|
598
|
+
<property name="text">
|
|
599
|
+
<string>Marker list</string>
|
|
600
|
+
</property>
|
|
601
|
+
<property name="toolTip">
|
|
602
|
+
<string>Show all labeled markers; double-click to jump</string>
|
|
603
|
+
</property>
|
|
604
|
+
</widget>
|
|
605
|
+
</item>
|
|
606
|
+
<item>
|
|
607
|
+
<widget class="QPushButton" name="StartEndListBt">
|
|
608
|
+
<property name="text">
|
|
609
|
+
<string>Start-End list</string>
|
|
610
|
+
</property>
|
|
611
|
+
<property name="toolTip">
|
|
612
|
+
<string>Show all start-end events; double-click to jump</string>
|
|
613
|
+
</property>
|
|
614
|
+
</widget>
|
|
615
|
+
</item>
|
|
616
|
+
</layout>
|
|
617
|
+
</widget>
|
|
618
|
+
</item>
|
|
619
|
+
<item row="6" column="0" colspan="4">
|
|
620
|
+
<widget class="QWidget" name="ExtraStatePanel">
|
|
621
|
+
<layout class="QGridLayout" name="extraStateLayout">
|
|
622
|
+
</layout>
|
|
623
|
+
</widget>
|
|
624
|
+
</item>
|
|
625
|
+
<item row="1" column="0">
|
|
626
|
+
<widget class="QRadioButton" name="MarkerRadio">
|
|
627
|
+
<property name="text">
|
|
628
|
+
<string>Marker</string>
|
|
629
|
+
</property>
|
|
630
|
+
</widget>
|
|
631
|
+
</item>
|
|
632
|
+
<item row="3" column="2">
|
|
633
|
+
<widget class="QPushButton" name="NREMBt">
|
|
634
|
+
<property name="text">
|
|
635
|
+
<string>1:NREM</string>
|
|
636
|
+
</property>
|
|
637
|
+
</widget>
|
|
638
|
+
</item>
|
|
639
|
+
<item row="1" column="1">
|
|
640
|
+
<widget class="Line" name="line_4">
|
|
641
|
+
<property name="orientation">
|
|
642
|
+
<enum>Qt::Vertical</enum>
|
|
643
|
+
</property>
|
|
644
|
+
</widget>
|
|
645
|
+
</item>
|
|
646
|
+
</layout>
|
|
647
|
+
</widget>
|
|
648
|
+
</widget>
|
|
649
|
+
<widget class="QDockWidget" name="TimeDock">
|
|
650
|
+
<property name="minimumSize">
|
|
651
|
+
<size>
|
|
652
|
+
<width>238</width>
|
|
653
|
+
<height>131</height>
|
|
654
|
+
</size>
|
|
655
|
+
</property>
|
|
656
|
+
<property name="acceptDrops">
|
|
657
|
+
<bool>false</bool>
|
|
658
|
+
</property>
|
|
659
|
+
<property name="autoFillBackground">
|
|
660
|
+
<bool>true</bool>
|
|
661
|
+
</property>
|
|
662
|
+
<property name="features">
|
|
663
|
+
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
|
|
664
|
+
</property>
|
|
665
|
+
<property name="allowedAreas">
|
|
666
|
+
<set>Qt::AllDockWidgetAreas</set>
|
|
667
|
+
</property>
|
|
668
|
+
<property name="windowTitle">
|
|
669
|
+
<string>Time</string>
|
|
670
|
+
</property>
|
|
671
|
+
<attribute name="dockWidgetArea">
|
|
672
|
+
<number>2</number>
|
|
673
|
+
</attribute>
|
|
674
|
+
<widget class="QWidget" name="dockWidgetContents_7">
|
|
675
|
+
<layout class="QGridLayout" name="gridLayout_4">
|
|
676
|
+
<item row="0" column="0">
|
|
677
|
+
<widget class="QDateTimeEdit" name="DateTimeEdit">
|
|
678
|
+
<property name="keyboardTracking">
|
|
679
|
+
<bool>false</bool>
|
|
680
|
+
</property>
|
|
681
|
+
<property name="displayFormat">
|
|
682
|
+
<string>dd - HH:mm:ss</string>
|
|
683
|
+
</property>
|
|
684
|
+
</widget>
|
|
685
|
+
</item>
|
|
686
|
+
<item row="0" column="1">
|
|
687
|
+
<widget class="QSpinBox" name="SecondSpin">
|
|
688
|
+
<property name="keyboardTracking">
|
|
689
|
+
<bool>false</bool>
|
|
690
|
+
</property>
|
|
691
|
+
</widget>
|
|
692
|
+
</item>
|
|
693
|
+
<item row="1" column="0" colspan="2">
|
|
694
|
+
<widget class="QComboBox" name="ShowRangeCombo">
|
|
695
|
+
<item>
|
|
696
|
+
<property name="text">
|
|
697
|
+
<string>Show 30 seconds</string>
|
|
698
|
+
</property>
|
|
699
|
+
</item>
|
|
700
|
+
<item>
|
|
701
|
+
<property name="text">
|
|
702
|
+
<string>Show 1 minute</string>
|
|
703
|
+
</property>
|
|
704
|
+
</item>
|
|
705
|
+
<item>
|
|
706
|
+
<property name="text">
|
|
707
|
+
<string>Show 5 minutes</string>
|
|
708
|
+
</property>
|
|
709
|
+
</item>
|
|
710
|
+
<item>
|
|
711
|
+
<property name="text">
|
|
712
|
+
<string>Show 30 minutes</string>
|
|
713
|
+
</property>
|
|
714
|
+
</item>
|
|
715
|
+
<item>
|
|
716
|
+
<property name="text">
|
|
717
|
+
<string>Show 1 hour</string>
|
|
718
|
+
</property>
|
|
719
|
+
</item>
|
|
720
|
+
</widget>
|
|
721
|
+
</item>
|
|
722
|
+
<item row="2" column="1">
|
|
723
|
+
<widget class="QSpinBox" name="SecondNumSpin">
|
|
724
|
+
<property name="keyboardTracking">
|
|
725
|
+
<bool>false</bool>
|
|
726
|
+
</property>
|
|
727
|
+
<property name="minimum">
|
|
728
|
+
<number>5</number>
|
|
729
|
+
</property>
|
|
730
|
+
</widget>
|
|
731
|
+
</item>
|
|
732
|
+
<item row="2" column="0">
|
|
733
|
+
<widget class="QCheckBox" name="CustomSecondsCheck">
|
|
734
|
+
<property name="text">
|
|
735
|
+
<string>Customize seconds</string>
|
|
736
|
+
</property>
|
|
737
|
+
</widget>
|
|
738
|
+
</item>
|
|
739
|
+
</layout>
|
|
740
|
+
</widget>
|
|
741
|
+
</widget>
|
|
742
|
+
<widget class="QMenuBar" name="menuBar">
|
|
743
|
+
<property name="geometry">
|
|
744
|
+
<rect>
|
|
745
|
+
<x>0</x>
|
|
746
|
+
<y>0</y>
|
|
747
|
+
<width>1451</width>
|
|
748
|
+
<height>26</height>
|
|
749
|
+
</rect>
|
|
750
|
+
</property>
|
|
751
|
+
<widget class="QMenu" name="menuFile">
|
|
752
|
+
<property name="title">
|
|
753
|
+
<string>File</string>
|
|
754
|
+
</property>
|
|
755
|
+
<addaction name="actionLoadData"/>
|
|
756
|
+
<addaction name="actionLoadAnnotation"/>
|
|
757
|
+
<addaction name="separator"/>
|
|
758
|
+
<addaction name="actionSaveData"/>
|
|
759
|
+
</widget>
|
|
760
|
+
<widget class="QMenu" name="menuTools">
|
|
761
|
+
<property name="title">
|
|
762
|
+
<string>Tools</string>
|
|
763
|
+
</property>
|
|
764
|
+
<widget class="QMenu" name="menuEvent_Detection">
|
|
765
|
+
<property name="title">
|
|
766
|
+
<string>Event Detection</string>
|
|
767
|
+
</property>
|
|
768
|
+
<addaction name="actionSWA_detection"/>
|
|
769
|
+
<addaction name="actionSpindle_Detection"/>
|
|
770
|
+
</widget>
|
|
771
|
+
<widget class="QMenu" name="menuAuto_Stage">
|
|
772
|
+
<property name="title">
|
|
773
|
+
<string>Auto Stage</string>
|
|
774
|
+
</property>
|
|
775
|
+
<addaction name="actionLightGBM"/>
|
|
776
|
+
<addaction name="actionCausalTransformer"/>
|
|
777
|
+
</widget>
|
|
778
|
+
<addaction name="actionAddLine"/>
|
|
779
|
+
<addaction name="menuEvent_Detection"/>
|
|
780
|
+
<addaction name="menuAuto_Stage"/>
|
|
781
|
+
</widget>
|
|
782
|
+
<widget class="QMenu" name="menuResult">
|
|
783
|
+
<property name="title">
|
|
784
|
+
<string>Result</string>
|
|
785
|
+
</property>
|
|
786
|
+
<addaction name="actionStateSpectral"/>
|
|
787
|
+
<addaction name="actionTransferResult"/>
|
|
788
|
+
</widget>
|
|
789
|
+
<widget class="QMenu" name="menuHelp">
|
|
790
|
+
<property name="title">
|
|
791
|
+
<string>Help</string>
|
|
792
|
+
</property>
|
|
793
|
+
<addaction name="actionAbout"/>
|
|
794
|
+
<addaction name="actionConfig"/>
|
|
795
|
+
</widget>
|
|
796
|
+
<addaction name="menuFile"/>
|
|
797
|
+
<addaction name="menuTools"/>
|
|
798
|
+
<addaction name="menuResult"/>
|
|
799
|
+
<addaction name="menuHelp"/>
|
|
800
|
+
</widget>
|
|
801
|
+
<action name="actionLoadData">
|
|
802
|
+
<property name="text">
|
|
803
|
+
<string>Load Data (Shift + D)</string>
|
|
804
|
+
</property>
|
|
805
|
+
</action>
|
|
806
|
+
<action name="actionLoadAnnotation">
|
|
807
|
+
<property name="text">
|
|
808
|
+
<string>Load Annotation (Shift + A)</string>
|
|
809
|
+
</property>
|
|
810
|
+
</action>
|
|
811
|
+
<action name="actionAddLine">
|
|
812
|
+
<property name="text">
|
|
813
|
+
<string>Add Line</string>
|
|
814
|
+
</property>
|
|
815
|
+
</action>
|
|
816
|
+
<action name="actionStateSpectral">
|
|
817
|
+
<property name="text">
|
|
818
|
+
<string>State Spectral</string>
|
|
819
|
+
</property>
|
|
820
|
+
</action>
|
|
821
|
+
<action name="actionTransferResult">
|
|
822
|
+
<property name="text">
|
|
823
|
+
<string>Transfer Result</string>
|
|
824
|
+
</property>
|
|
825
|
+
</action>
|
|
826
|
+
<action name="actionAbout">
|
|
827
|
+
<property name="text">
|
|
828
|
+
<string>About</string>
|
|
829
|
+
</property>
|
|
830
|
+
</action>
|
|
831
|
+
<action name="actionSWA_detection">
|
|
832
|
+
<property name="text">
|
|
833
|
+
<string>SWA Detection</string>
|
|
834
|
+
</property>
|
|
835
|
+
</action>
|
|
836
|
+
<action name="actionSpindle_Detection">
|
|
837
|
+
<property name="text">
|
|
838
|
+
<string>Spindle Detection</string>
|
|
839
|
+
</property>
|
|
840
|
+
</action>
|
|
841
|
+
<action name="actionLoad_AccuSleep_Data">
|
|
842
|
+
<property name="text">
|
|
843
|
+
<string>Load AccuSleep Data</string>
|
|
844
|
+
</property>
|
|
845
|
+
</action>
|
|
846
|
+
<action name="actionSaveData">
|
|
847
|
+
<property name="text">
|
|
848
|
+
<string>Save Data</string>
|
|
849
|
+
</property>
|
|
850
|
+
</action>
|
|
851
|
+
<action name="actionLightGBM">
|
|
852
|
+
<property name="text">
|
|
853
|
+
<string>LightGBM</string>
|
|
854
|
+
</property>
|
|
855
|
+
</action>
|
|
856
|
+
<action name="actionCausalTransformer">
|
|
857
|
+
<property name="text">
|
|
858
|
+
<string>CausalTransformer</string>
|
|
859
|
+
</property>
|
|
860
|
+
</action>
|
|
861
|
+
<action name="actionConfig">
|
|
862
|
+
<property name="text">
|
|
863
|
+
<string>Config</string>
|
|
864
|
+
</property>
|
|
865
|
+
</action>
|
|
866
|
+
</widget>
|
|
867
|
+
<resources>
|
|
868
|
+
<include location="../resources/misleep.qrc"/>
|
|
869
|
+
</resources>
|
|
870
|
+
<connections/>
|
|
871
|
+
</ui>
|