diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index 8a2b82b..6e41296 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -11,8 +11,8 @@ jobs: strategy: fail-fast: false matrix: - platform: [ubuntu-latest, windows-latest] # macos-latest, - python-version: [3.7, 3.8, 3.9] + platform: [ubuntu-latest, macos-latest, windows-latest] + python-version: ["3.8", "3.9", "3.10", "3.11"] runs-on: ${{ matrix.platform }} @@ -39,7 +39,7 @@ jobs: pytest --cov --cov-report=xml --cov-config=setup.cfg --verbose - name: Upload coverage report - if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == 3.8 }} + if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == 3.9 }} uses: codecov/codecov-action@v1 with: token: a58a0c62-fb11-4429-977b-65bec01ecb44 diff --git a/README.rst b/README.rst index 198f79c..a49db33 100644 --- a/README.rst +++ b/README.rst @@ -119,7 +119,7 @@ Below some plots demonstrating the functionalities of YASA. To reproduce these, Development ~~~~~~~~~~~ -YASA was created and is maintained by `Raphael Vallat `_, a postdoctoral researcher in `Matthew Walker's lab `_ at UC Berkeley. Contributions are more than welcome so feel free to contact me, open an issue or submit a pull request! +YASA was created and is maintained by `Raphael Vallat `_, a former postdoctoral researcher in `Matthew Walker's lab `_ at UC Berkeley. Contributions are more than welcome so feel free to contact me, open an issue or submit a pull request! To see the code or report a bug, please visit the `GitHub repository `_. diff --git a/docs/api.rst b/docs/api.rst index c4b1b42..a6a745d 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -31,7 +31,6 @@ Hypnogram & sleep statistics .. autosummary:: :toctree: generated/ - Hypnogram hypno_upsample_to_data hypno_upsample_to_sf hypno_str_to_int @@ -42,7 +41,8 @@ Hypnogram & sleep statistics plot_spectrogram transition_matrix sleep_statistics - simulate_hypno + Hypnogram + simulate_hypnogram Spectral analyses ----------------- diff --git a/docs/build/html/.buildinfo b/docs/build/html/.buildinfo index 37b6a68..b12a47e 100644 --- a/docs/build/html/.buildinfo +++ b/docs/build/html/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 53802cc2376a375a855b3c0f38207c28 +config: 489cdac284cc185cfdae105616c5af8a tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/build/html/_images/yasa-Hypnogram-1.png b/docs/build/html/_images/yasa-Hypnogram-1.png new file mode 100644 index 0000000..c766e36 Binary files /dev/null and b/docs/build/html/_images/yasa-Hypnogram-1.png differ diff --git a/docs/build/html/_images/yasa-plot_hypnogram-1.png b/docs/build/html/_images/yasa-plot_hypnogram-1.png index 68a096f..0a02e41 100644 Binary files a/docs/build/html/_images/yasa-plot_hypnogram-1.png and b/docs/build/html/_images/yasa-plot_hypnogram-1.png differ diff --git a/docs/build/html/_images/yasa-plot_hypnogram-2.png b/docs/build/html/_images/yasa-plot_hypnogram-2.png new file mode 100644 index 0000000..671c8a8 Binary files /dev/null and b/docs/build/html/_images/yasa-plot_hypnogram-2.png differ diff --git a/docs/build/html/_images/yasa-plot_hypnogram-3.png b/docs/build/html/_images/yasa-plot_hypnogram-3.png new file mode 100644 index 0000000..b17f75c Binary files /dev/null and b/docs/build/html/_images/yasa-plot_hypnogram-3.png differ diff --git a/docs/build/html/_images/yasa-plot_spectrogram-1.png b/docs/build/html/_images/yasa-plot_spectrogram-1.png index 265098a..89992ee 100644 Binary files a/docs/build/html/_images/yasa-plot_spectrogram-1.png and b/docs/build/html/_images/yasa-plot_spectrogram-1.png differ diff --git a/docs/build/html/_images/yasa-plot_spectrogram-2.png b/docs/build/html/_images/yasa-plot_spectrogram-2.png index 3cb3131..6800493 100644 Binary files a/docs/build/html/_images/yasa-plot_spectrogram-2.png and b/docs/build/html/_images/yasa-plot_spectrogram-2.png differ diff --git a/docs/build/html/_images/yasa-simulate_hypno-1.png b/docs/build/html/_images/yasa-simulate_hypno-1.png deleted file mode 100644 index 08ef682..0000000 Binary files a/docs/build/html/_images/yasa-simulate_hypno-1.png and /dev/null differ diff --git a/docs/build/html/_images/yasa-simulate_hypnogram-1.png b/docs/build/html/_images/yasa-simulate_hypnogram-1.png new file mode 100644 index 0000000..ad34e2b Binary files /dev/null and b/docs/build/html/_images/yasa-simulate_hypnogram-1.png differ diff --git a/docs/build/html/_images/yasa-topoplot-1.png b/docs/build/html/_images/yasa-topoplot-1.png index 0accf26..b4557af 100644 Binary files a/docs/build/html/_images/yasa-topoplot-1.png and b/docs/build/html/_images/yasa-topoplot-1.png differ diff --git a/docs/build/html/_images/yasa-topoplot-2.png b/docs/build/html/_images/yasa-topoplot-2.png index 2537306..194886d 100644 Binary files a/docs/build/html/_images/yasa-topoplot-2.png and b/docs/build/html/_images/yasa-topoplot-2.png differ diff --git a/docs/build/html/_images/yasa-transition_matrix-1.png b/docs/build/html/_images/yasa-transition_matrix-1.png index 85fd613..c3f63ea 100644 Binary files a/docs/build/html/_images/yasa-transition_matrix-1.png and b/docs/build/html/_images/yasa-transition_matrix-1.png differ diff --git a/docs/build/html/_modules/index.html b/docs/build/html/_modules/index.html index 7a75cda..770b421 100644 --- a/docs/build/html/_modules/index.html +++ b/docs/build/html/_modules/index.html @@ -1,24 +1,23 @@ - + - Overview: module code — yasa 0.6.3 documentation - - + + Overview: module code — yasa 0.6.4 documentation + + - + - - @@ -26,10 +25,10 @@ - - - - + + + + @@ -44,7 +43,7 @@ yasa - 0.6.3 + 0.6.4 diff --git a/docs/build/html/_modules/yasa/detection.html b/docs/build/html/_modules/yasa/detection.html index 2e05165..8ba6b88 100644 --- a/docs/build/html/_modules/yasa/detection.html +++ b/docs/build/html/_modules/yasa/detection.html @@ -1,24 +1,23 @@ - + - yasa.detection — yasa 0.6.3 documentation - - + + yasa.detection — yasa 0.6.4 documentation + + - + - - @@ -26,10 +25,10 @@ - - - - + + + + @@ -44,7 +43,7 @@ yasa - 0.6.3 + 0.6.4