misleep 0.2.4__tar.gz → 0.2.5__tar.gz
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-0.2.4 → misleep-0.2.5}/PKG-INFO +1 -1
- {misleep-0.2.4 → misleep-0.2.5}/misleep/config.ini +3 -2
- {misleep-0.2.4 → misleep-0.2.5}/misleep/io/signal_io.py +3 -3
- {misleep-0.2.4 → misleep-0.2.5}/misleep.egg-info/PKG-INFO +1 -1
- {misleep-0.2.4 → misleep-0.2.5}/setup.py +1 -1
- {misleep-0.2.4 → misleep-0.2.5}/LICENSE +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/README.md +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/__init__.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/__main__.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/analysis/__init__.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/analysis/auto_stage.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/analysis/auto_stage_model/P30_EEG_F_lightgbm.pkl +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/analysis/auto_stage_model/P30_EEG_P_lightgbm.pkl +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/analysis/auto_stage_model/ado_EEG_F_lightgbm.pkl +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/analysis/auto_stage_model/ado_EEG_P_lightgbm.pkl +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/analysis/auto_stage_model/adult_EEG_F_lightgbm.pkl +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/analysis/auto_stage_model/adult_EEG_P_lightgbm.pkl +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/analysis/detection.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/__init__.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/about.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/dialog.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/main_window.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/resources/__init__.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/resources/entire_logo.png +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/resources/logo.png +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/resources/misleep.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/resources/misleep.qrc +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/show.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/spec_window.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/thread.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/SWA_detect_dialog_ui.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/__init__.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/about_ui.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/auto_stage_dialog_ui.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/horizontal_line_dialog_ui.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/label_dialog_ui.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/main_window_ui.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/save_data_dialog_ui.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/spec_window_ui.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/spindle_detect_dialog_ui.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/state_spectral_dialog_ui.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/uis/transfer_result_dialog_ui.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/gui/utils.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/io/__init__.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/io/annotation_io.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/io/base.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/preprocessing/__init__.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/preprocessing/channel.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/preprocessing/signals.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/preprocessing/spectral.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/utils/__init__.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/utils/annotation.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/utils/logger_handler.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/utils/signals.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/viz/__init__.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/viz/hypnogram.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/viz/signals.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep/viz/spectral.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep.egg-info/SOURCES.txt +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep.egg-info/dependency_links.txt +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep.egg-info/requires.txt +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/misleep.egg-info/top_level.txt +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/setup.cfg +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/test/test_annotation_io.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/test/test_loadmat73.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/test/test_midata.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/test/test_show.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/test/test_signal_io.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/test/test_signals_viz.py +0 -0
- {misleep-0.2.4 → misleep-0.2.5}/test/test_spectral_viz.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[gui]
|
|
2
|
-
version = v0.2.
|
|
3
|
-
updatetime = 2025/1/
|
|
2
|
+
version = v0.2.5
|
|
3
|
+
updatetime = 2025/1/17
|
|
4
4
|
marker = ['good', 'first REM', 'WindEEG', 'W-R ', 'maker']
|
|
5
5
|
startend = ['burst-supression', 'REM', 'Wake', 'Spindle', 'SWA', 'start end label', 'start end label']
|
|
6
6
|
statemap = {"1": "NREM", "2": "REM", "3": "Wake", "4": "INIT", "5": "IS", "6": "MicroArousal"}
|
|
@@ -10,3 +10,4 @@ statecolorbgalpha = 0.1
|
|
|
10
10
|
markerlinecolor = "red"
|
|
11
11
|
startendlinecolor = "blue"
|
|
12
12
|
openpath = E:
|
|
13
|
+
|
|
@@ -106,10 +106,10 @@ def load_mat(data_path):
|
|
|
106
106
|
try:
|
|
107
107
|
for each in channels:
|
|
108
108
|
signal_ = raw_data[each]
|
|
109
|
-
if signal_.shape[0] >
|
|
110
|
-
signals.append(signal_.T)
|
|
111
|
-
if signal_.shape[0] < signal_.shape[1]:
|
|
109
|
+
if signal_.shape[0] > 1:
|
|
112
110
|
signals.append(signal_)
|
|
111
|
+
if signal_.shape[0] == 1:
|
|
112
|
+
signals.append(signal_.T)
|
|
113
113
|
except Exception as e:
|
|
114
114
|
logger.error(f"Load data ERROR: {e}")
|
|
115
115
|
return
|
|
@@ -11,7 +11,7 @@ MAINTAINER_EMAIL = "swang@gmail.com"
|
|
|
11
11
|
URL = "https://github.com/BryanWang0702/MiSleep/"
|
|
12
12
|
LICENSE = "BSD (3-clause)"
|
|
13
13
|
DOWNLOAD_URL = "https://github.com/BryanWang0702/MiSleep/"
|
|
14
|
-
VERSION = "0.2.
|
|
14
|
+
VERSION = "0.2.5"
|
|
15
15
|
|
|
16
16
|
INSTALL_REQUIRES = [
|
|
17
17
|
"numpy>=1.18.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|