accusleepy 0.4.4__tar.gz → 0.4.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.
Files changed (41) hide show
  1. {accusleepy-0.4.4 → accusleepy-0.4.5}/PKG-INFO +28 -19
  2. {accusleepy-0.4.4 → accusleepy-0.4.5}/README.md +24 -15
  3. accusleepy-0.4.5/accusleepy/gui/images/primary_window.png +0 -0
  4. {accusleepy-0.4.4 → accusleepy-0.4.5}/pyproject.toml +3 -3
  5. accusleepy-0.4.4/accusleepy/gui/images/primary_window.png +0 -0
  6. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/__init__.py +0 -0
  7. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/__main__.py +0 -0
  8. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/brain_state_set.py +0 -0
  9. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/classification.py +0 -0
  10. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/config.json +0 -0
  11. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/constants.py +0 -0
  12. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/fileio.py +0 -0
  13. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/__init__.py +0 -0
  14. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/icons/brightness_down.png +0 -0
  15. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/icons/brightness_up.png +0 -0
  16. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/icons/double_down_arrow.png +0 -0
  17. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/icons/double_up_arrow.png +0 -0
  18. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/icons/down_arrow.png +0 -0
  19. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/icons/home.png +0 -0
  20. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/icons/question.png +0 -0
  21. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/icons/save.png +0 -0
  22. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/icons/up_arrow.png +0 -0
  23. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/icons/zoom_in.png +0 -0
  24. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/icons/zoom_out.png +0 -0
  25. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/images/viewer_window.png +0 -0
  26. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/images/viewer_window_annotated.png +0 -0
  27. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/main.py +0 -0
  28. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/manual_scoring.py +0 -0
  29. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/mplwidget.py +0 -0
  30. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/primary_window.py +0 -0
  31. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/primary_window.ui +0 -0
  32. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/resources.qrc +0 -0
  33. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/resources_rc.py +0 -0
  34. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/text/config_guide.txt +0 -0
  35. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/text/main_guide.md +0 -0
  36. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/text/manual_scoring_guide.md +0 -0
  37. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/viewer_window.py +0 -0
  38. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/gui/viewer_window.ui +0 -0
  39. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/models.py +0 -0
  40. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/multitaper.py +0 -0
  41. {accusleepy-0.4.4 → accusleepy-0.4.5}/accusleepy/signal_processing.py +0 -0
@@ -1,16 +1,16 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: accusleepy
3
- Version: 0.4.4
3
+ Version: 0.4.5
4
4
  Summary: Python implementation of AccuSleep
5
5
  License: GPL-3.0-only
6
6
  Author: Zeke Barger
7
7
  Author-email: zekebarger@gmail.com
8
- Requires-Python: >=3.10,<3.13
8
+ Requires-Python: >=3.11,<3.14
9
9
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
10
10
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.10
12
11
  Classifier: Programming Language :: Python :: 3.11
13
12
  Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
14
  Requires-Dist: fastparquet (>=2024.11.0,<2025.0.0)
15
15
  Requires-Dist: joblib (>=1.4.2,<2.0.0)
16
16
  Requires-Dist: matplotlib (>=3.10.1,<4.0.0)
@@ -18,7 +18,7 @@ Requires-Dist: numpy (>=2.2.4,<3.0.0)
18
18
  Requires-Dist: pandas (>=2.2.3,<3.0.0)
19
19
  Requires-Dist: pillow (>=11.1.0,<12.0.0)
20
20
  Requires-Dist: pre-commit (>=4.2.0,<5.0.0)
21
- Requires-Dist: pyside6 (>=6.7.1,<6.8.0)
21
+ Requires-Dist: pyside6 (>=6.9.0,<7.0.0)
22
22
  Requires-Dist: scipy (>=1.15.2,<2.0.0)
23
23
  Requires-Dist: toml (>=0.10.2,<0.11.0)
24
24
  Requires-Dist: torch (>=2.6.0,<3.0.0)
@@ -30,9 +30,17 @@ Description-Content-Type: text/markdown
30
30
 
31
31
  ## Description
32
32
 
33
- AccuSleePy is a python implementation of AccuSleep--a set of graphical user interfaces for scoring rodent
34
- sleep using EEG and EMG recordings. It offers several improvements over the original MATLAB version
35
- and is the only version that will be actively maintained.
33
+ AccuSleePy is set of graphical user interfaces for scoring rodent sleep
34
+ using EEG and EMG recordings.
35
+ It offers the following improvements over the MATLAB version (AccuSleep):
36
+
37
+ - Up to 10 brain states can be configured through the user interface
38
+ - Classification models can be trained through the user interface
39
+ - Model files contain useful metadata (brain state configuration,
40
+ epoch length, number of epochs)
41
+ - Models optimized for real-time scoring can be trained
42
+ - Lists of recordings can be imported and exported for repeatable batch processing
43
+ - Undo/redo functionality in the manual scoring interface
36
44
 
37
45
  If you use AccuSleep in your research, please cite our
38
46
  [publication](https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0224642):
@@ -43,28 +51,20 @@ The data and models associated with AccuSleep are available at https://osf.io/py
43
51
 
44
52
  Please contact zekebarger (at) gmail (dot) com with any questions or comments about the software.
45
53
 
46
- ## What's new
47
-
48
- AccuSleePy offers the following improvements over the MATLAB version:
49
-
50
- - Up to 10 brain states can be configured through the user interface
51
- - Models can be trained through the user interface
52
- - Model files contain useful metadata (brain state configuration,
53
- epoch length, number of epochs)
54
- - Models optimized for real-time scoring can be trained
55
- - Lists of recordings can be imported and exported for repeatable batch processing
56
- - Undo/redo functionality in the manual scoring interface
57
54
 
58
55
  ## Installation
59
56
 
60
57
  - (recommended) create a new virtual environment (using
61
58
  [venv](https://docs.python.org/3/library/venv.html),
62
59
  [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html),
63
- etc.) using python >=3.10,<3.13
60
+ etc.) with python >=3.11,<3.14
64
61
  - (optional) if you have a CUDA device and want to speed up model training, [install PyTorch](https://pytorch.org/)
65
62
  - `pip install accusleepy`
66
63
  - (optional) download a classification model from https://osf.io/py5eb/ under /python_format/models/
67
64
 
65
+ Note that upgrading or reinstalling the package will overwrite any changes
66
+ to the [config file](accusleepy/config.json).
67
+
68
68
  ## Usage
69
69
 
70
70
  `python -m accusleepy` will open the primary interface.
@@ -73,7 +73,16 @@ etc.) using python >=3.10,<3.13
73
73
 
74
74
  [Guide to the manual scoring interface](accusleepy/gui/text/manual_scoring_guide.md)
75
75
 
76
+ ## Changelog
77
+
78
+ - 0.4.5: Added support for python 3.13, **removed support for python 3.10.**
79
+ - 0.4.4: Performance improvements
80
+ - 0.4.3: Improved unit tests and user manuals
81
+ - 0.4.0: Improved visuals and user manuals
82
+ - 0.1.0-0.3.1: Early development versions
83
+
76
84
  ## Screenshots
85
+
77
86
  Primary interface
78
87
  ![AccuSleePy primary interface](accusleepy/gui/images/primary_window.png)
79
88
 
@@ -2,9 +2,17 @@
2
2
 
3
3
  ## Description
4
4
 
5
- AccuSleePy is a python implementation of AccuSleep--a set of graphical user interfaces for scoring rodent
6
- sleep using EEG and EMG recordings. It offers several improvements over the original MATLAB version
7
- and is the only version that will be actively maintained.
5
+ AccuSleePy is set of graphical user interfaces for scoring rodent sleep
6
+ using EEG and EMG recordings.
7
+ It offers the following improvements over the MATLAB version (AccuSleep):
8
+
9
+ - Up to 10 brain states can be configured through the user interface
10
+ - Classification models can be trained through the user interface
11
+ - Model files contain useful metadata (brain state configuration,
12
+ epoch length, number of epochs)
13
+ - Models optimized for real-time scoring can be trained
14
+ - Lists of recordings can be imported and exported for repeatable batch processing
15
+ - Undo/redo functionality in the manual scoring interface
8
16
 
9
17
  If you use AccuSleep in your research, please cite our
10
18
  [publication](https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0224642):
@@ -15,28 +23,20 @@ The data and models associated with AccuSleep are available at https://osf.io/py
15
23
 
16
24
  Please contact zekebarger (at) gmail (dot) com with any questions or comments about the software.
17
25
 
18
- ## What's new
19
-
20
- AccuSleePy offers the following improvements over the MATLAB version:
21
-
22
- - Up to 10 brain states can be configured through the user interface
23
- - Models can be trained through the user interface
24
- - Model files contain useful metadata (brain state configuration,
25
- epoch length, number of epochs)
26
- - Models optimized for real-time scoring can be trained
27
- - Lists of recordings can be imported and exported for repeatable batch processing
28
- - Undo/redo functionality in the manual scoring interface
29
26
 
30
27
  ## Installation
31
28
 
32
29
  - (recommended) create a new virtual environment (using
33
30
  [venv](https://docs.python.org/3/library/venv.html),
34
31
  [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html),
35
- etc.) using python >=3.10,<3.13
32
+ etc.) with python >=3.11,<3.14
36
33
  - (optional) if you have a CUDA device and want to speed up model training, [install PyTorch](https://pytorch.org/)
37
34
  - `pip install accusleepy`
38
35
  - (optional) download a classification model from https://osf.io/py5eb/ under /python_format/models/
39
36
 
37
+ Note that upgrading or reinstalling the package will overwrite any changes
38
+ to the [config file](accusleepy/config.json).
39
+
40
40
  ## Usage
41
41
 
42
42
  `python -m accusleepy` will open the primary interface.
@@ -45,7 +45,16 @@ etc.) using python >=3.10,<3.13
45
45
 
46
46
  [Guide to the manual scoring interface](accusleepy/gui/text/manual_scoring_guide.md)
47
47
 
48
+ ## Changelog
49
+
50
+ - 0.4.5: Added support for python 3.13, **removed support for python 3.10.**
51
+ - 0.4.4: Performance improvements
52
+ - 0.4.3: Improved unit tests and user manuals
53
+ - 0.4.0: Improved visuals and user manuals
54
+ - 0.1.0-0.3.1: Early development versions
55
+
48
56
  ## Screenshots
57
+
49
58
  Primary interface
50
59
  ![AccuSleePy primary interface](accusleepy/gui/images/primary_window.png)
51
60
 
@@ -1,20 +1,19 @@
1
1
  [project]
2
2
  name = "accusleepy"
3
- version = "0.4.4"
3
+ version = "0.4.5"
4
4
  description = "Python implementation of AccuSleep"
5
5
  authors = [
6
6
  {name = "Zeke Barger",email = "zekebarger@gmail.com"}
7
7
  ]
8
8
  license = { text = "GPL-3.0-only" }
9
9
  readme = "README.md"
10
- requires-python = ">=3.10,<3.13"
10
+ requires-python = ">=3.11,<3.14"
11
11
  dependencies = [
12
12
  "numpy (>=2.2.4,<3.0.0)",
13
13
  "pandas (>=2.2.3,<3.0.0)",
14
14
  "torch (>=2.6.0,<3.0.0)",
15
15
  "torchvision (>=0.21.0,<0.22.0)",
16
16
  "scipy (>=1.15.2,<2.0.0)",
17
- "pyside6 (>=6.7.1,<6.8.0)",
18
17
  "matplotlib (>=3.10.1,<4.0.0)",
19
18
  "joblib (>=1.4.2,<2.0.0)",
20
19
  "pillow (>=11.1.0,<12.0.0)",
@@ -22,6 +21,7 @@ dependencies = [
22
21
  "pre-commit (>=4.2.0,<5.0.0)",
23
22
  "tqdm (>=4.67.1,<5.0.0)",
24
23
  "toml (>=0.10.2,<0.11.0)",
24
+ "pyside6 (>=6.9.0,<7.0.0)",
25
25
  ]
26
26
 
27
27
  [tool.poetry.group.dev.dependencies]