accusleepy 0.4.4__py3-none-any.whl → 0.5.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.
@@ -1,16 +1,16 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: accusleepy
3
- Version: 0.4.4
3
+ Version: 0.5.0
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,17 @@ 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.5.0: Performance improvements
79
+ - 0.4.5: Added support for python 3.13, **removed support for python 3.10.**
80
+ - 0.4.4: Performance improvements
81
+ - 0.4.3: Improved unit tests and user manuals
82
+ - 0.4.0: Improved visuals and user manuals
83
+ - 0.1.0-0.3.1: Early development versions
84
+
76
85
  ## Screenshots
86
+
77
87
  Primary interface
78
88
  ![AccuSleePy primary interface](accusleepy/gui/images/primary_window.png)
79
89
 
@@ -1,10 +1,11 @@
1
1
  accusleepy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  accusleepy/__main__.py,sha256=dKzl2N2Hg9lD264CWYNxThRyDKzWwyMwHRXmJxOmMis,104
3
+ accusleepy/bouts.py,sha256=F_y6DxnpKFfImYb7vCZluZ2eD5I_33gZXmRM8mvebsg,5679
3
4
  accusleepy/brain_state_set.py,sha256=fRkrArHLIbEKimub804yt_mUXoyfsjJEfiJnTjeCMkY,3233
4
- accusleepy/classification.py,sha256=xrmPyMHlzYh0QfNCID1PRIYEIyNkWduOi7g1Bdb6xfg,8573
5
+ accusleepy/classification.py,sha256=czRGcDYN28QK5Nsahy6y2C162OgbO1nhjJxWZT9AvWc,8579
5
6
  accusleepy/config.json,sha256=F76WRLarMEW38BBMPwFlQ_d7Dur-ptqYmW8BxqnQF4A,464
6
- accusleepy/constants.py,sha256=PnsPANggyIfMfd6OCR-kNztFOTybUEhMnPeibu5_eEU,1280
7
- accusleepy/fileio.py,sha256=S5pf_hE-btJPMbrTplKLaQTULSJQoOJ-56LBH79Uz3I,6383
7
+ accusleepy/constants.py,sha256=mb6Tjzat-tWOHdz2I1mqW7NtDzDKcy3rVjeqSdOQ2qE,1381
8
+ accusleepy/fileio.py,sha256=qJfnAnGou337z9_ngBpqsyhCawKazh2DpQdneFZMaMg,4547
8
9
  accusleepy/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
10
  accusleepy/gui/icons/brightness_down.png,sha256=PLT1fb83RHIhSRuU7MMMx0G7oJAY7o9wUcnqM8veZfM,12432
10
11
  accusleepy/gui/icons/brightness_up.png,sha256=64GnUqgPvN5xZ6Um3wOzwqvUmdAWYZT6eFmWpBsHyks,12989
@@ -17,13 +18,13 @@ accusleepy/gui/icons/save.png,sha256=J3EA8iU1BqLYRSsrq_OdoZlqrv2yfL7oV54DklTy_DI
17
18
  accusleepy/gui/icons/up_arrow.png,sha256=V9yF9t1WgjPaUu-mF1YGe_DfaRHg2dUpR_sUVVcvVvY,3329
18
19
  accusleepy/gui/icons/zoom_in.png,sha256=MFWnKZp7Rvh4bLPq4Cqo4sB_jQYedUUtT8-ZO8tNYyc,13589
19
20
  accusleepy/gui/icons/zoom_out.png,sha256=IB8Jecb3i0U4qjWRR46ridjLpvLCSe7PozBaLqQqYSw,13055
20
- accusleepy/gui/images/primary_window.png,sha256=Taf9llcO_cVI76SImgcugTppxu7upLPQFv5YN2OC8NA,597005
21
+ accusleepy/gui/images/primary_window.png,sha256=-JHTb7bvRS-mUoSl9XRNmhBjQHHiwwuO80jwblp-IO8,598790
21
22
  accusleepy/gui/images/viewer_window.png,sha256=gKwIXkgsl1rTMfmMeMwNyjEAUL5I6FXk9-hpMR92qTI,970630
22
23
  accusleepy/gui/images/viewer_window_annotated.png,sha256=M5NmoWDHRLS334Rp8SsfOPUUXzPltH1p7aB0BrISgQU,261481
23
- accusleepy/gui/main.py,sha256=QLtxVvBz81CjDeBddJZNDCLd207j9WJga1n45nlsxWI,54384
24
- accusleepy/gui/manual_scoring.py,sha256=Sy4vwMmMLY_SreXUyxd0t-at2F-1pHkvvz1UGIbzVic,40496
25
- accusleepy/gui/mplwidget.py,sha256=f9O3u_96whQGUwpi3o_QGc7yjiETX5vE0oj3ePXTJWE,12279
26
- accusleepy/gui/primary_window.py,sha256=RXpDvcb7zy8Ea4Da1VhMG1T6GC54KW3vyGjqqQJN45k,104582
24
+ accusleepy/gui/main.py,sha256=VW4dYk4a2NPA3zl9omBkxaVRJDAvECTLYHsE0uIlnyo,54502
25
+ accusleepy/gui/manual_scoring.py,sha256=f4y_33kFzZ6krdtfkUDJqQ4LRhn7aC1Fwm6nwus4x1I,39853
26
+ accusleepy/gui/mplwidget.py,sha256=Jy3hdkTayo8KzKx1AJ7jS0n_w-CCLlAYqUK7uSEzIBY,12389
27
+ accusleepy/gui/primary_window.py,sha256=gk-IRcsjw4Sf7b1mQbf5RhZiPprv2BtvxGfYjAjrUmc,104583
27
28
  accusleepy/gui/primary_window.ui,sha256=09k4xFcjgOL9mlhFlg6mXCc_tgj4_FY9CZ3H03e3z3A,147074
28
29
  accusleepy/gui/resources.qrc,sha256=ByNEmJqr0YbKBqoZGvONZtjyNYr4ST4enO6TEdYSqWg,802
29
30
  accusleepy/gui/resources_rc.py,sha256=Z2e34h30U4snJjnYdZVV9B6yjATKxxfvgTRt5uXtQdo,329727
@@ -32,9 +33,9 @@ accusleepy/gui/text/main_guide.md,sha256=VS6A5_CzQOBwIotNgEA_X0KHKfMT4lEK43Ki_Dk
32
33
  accusleepy/gui/text/manual_scoring_guide.md,sha256=ow_RMSjFy05NupEDSCuJtu-V65-BPnIkrZqtssFoZCQ,999
33
34
  accusleepy/gui/viewer_window.py,sha256=5PkbuYMXUegH1CExCoqSGDZ9GeJqCCUz0-3WWkM8Vfc,24049
34
35
  accusleepy/gui/viewer_window.ui,sha256=D1LwUFR-kZ_GWGZFFtXvGJdFWghLrOWZTblQeLQt9kI,30525
35
- accusleepy/models.py,sha256=Muapsw088AUHqRIbW97Rkbv0oiwCtQvO9tEoBCC-MYg,1476
36
- accusleepy/multitaper.py,sha256=V6MJDk0OSWhg2MFhrnt9dvYrHiNsk2T7IxAA7paZVyE,25549
37
- accusleepy/signal_processing.py,sha256=-aXnywfp1LBsk3DcbIMmZlgv3f8j6sZ6js0bizZId0o,21718
38
- accusleepy-0.4.4.dist-info/METADATA,sha256=-ljW9uyRze3PQhDr85hTMrKzOWveDCALUH2cPs2sT_E,3653
39
- accusleepy-0.4.4.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
40
- accusleepy-0.4.4.dist-info/RECORD,,
36
+ accusleepy/models.py,sha256=IJcMy102p8RndidqZ9HrL-eIGLOjQqc1hwebZHRvl5Q,3390
37
+ accusleepy/multitaper.py,sha256=D5-iglwkFBRciL5tKSNcunMtcq0rM3zHwRHUVPgem1U,25679
38
+ accusleepy/signal_processing.py,sha256=dxq0Nq9ae8ze5hX8vX7LXBqz1IJ3SoBsNQYmNSY5n2E,16023
39
+ accusleepy-0.5.0.dist-info/METADATA,sha256=F1AZtdxlgo70PPCJucnVhYyUa922FXsjMzS942wfqSs,3909
40
+ accusleepy-0.5.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
41
+ accusleepy-0.5.0.dist-info/RECORD,,