sleep-scoring
Sleep is a flexible open-source graphical user interface for visualization, analysis and scoring of polysomnographic sleep data. It was originally developed by Etienne Combrisson in collaboration with Raphael Vallat and Christian O Reilly. This standalone version was devleoped by Anjo Pagdanganan under the guidance of Omer Sharon at the Center for Human Sleep Sciene at UC Berkeley in order to allow direct installation in a contemporary python environment. It also includes some bug fixes and new features, such as:
Signal graph backgrounds colored according to hypnogram
Hypnogram live updates during scoring
Option to save old and new formats for hypnogram data
A copy of the relevant documentation is provided in this repo, but can also be found at the original Visbrain repo. This copy contains not just the documentation for Sleep, but also the rest of Visbrain’s documentation for archival purposes.
Example code can be found under examples/gui_sleep
Installation
It is recommended to install this in a virtual environment using conda. This package was developed on Python 3.12 but has been shown to work with Python >= 3.9.:
python -m pip install sleep-scoring
(It is recommended to preface pip with python -m to ensure it uses the virtual environment’s installation of python)
Start scoring
Sleep can be deployed using this python script (see examples/basic_sleep.py):
from sleep_scoring.gui import Sleep Sleep().show()
You can either start Python in the terminal with the python command and write the commands there, or you can create a python script and run it.
Citation
Combrisson E, Vallat R, Eichenlaub J-B, O’Reilly C, Lajnef T, Guillot A, Ruby PM and Jerbi K (2017) Sleep: An Open-Source Python Software for Visualization, Analysis, and Staging of Sleep Data. Front. Neuroinform. 11:60. doi: 10.3389/fninf.2017.00060
Metadata
Release files for sleep-scoring 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sleep_scoring-0.0.4.tar.gz | 196.0 kB | Without provenance | Details for sleep_scoring-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sleep_scoring-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for sleep_scoring-0.0.4-py3-none-any.whl |
Total release size: 427.2 kB
Release files / sleep_scoring-0.0.4.tar.gz
| Download URL | sleep_scoring-0.0.4.tar.gz |
|---|---|
| Size | 196.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22c4aec74e901aa934ceb4bd0d8d5ed94e680da3d92cc31158a48654b0fa7f7d
|
|
BLAKE2b-256 checksum How to use checksums |
d2f0d28595036062598d458447dfc0321e2da007d1dbcce9f038c161a24c5d21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.0
|
Release files / sleep_scoring-0.0.4-py3-none-any.whl
| Download URL | sleep_scoring-0.0.4-py3-none-any.whl |
|---|---|
| Size | 231.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59e64c12d1ed13024477f17a9bbc652ce0a80e1abfa171ba02ffa2f16183d3f6
|
|
BLAKE2b-256 checksum How to use checksums |
d9d3d29d1674ef2342be134463b3ac9b78f4b4138a5157adf6b91eda6846bda2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.0
|
Security for sleep-scoring 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.