Skip to main content

A python package for explainable sleep staging via deep learning

Project description

PhysioEx Logo

PhysioEx

Python Version PyPI Version

PhysioEx ( Physiological Signal Explainer ) is a versatile python library tailored for building, training, and explaining deep learning models for physiological signal analysis.

The main purpose of the library is to propose a standard and fast methodology to train and evalutate state-of-the-art deep learning architectures for physiological signal analysis, to shift the attention from the architecture building task to the explainability task.

With PhysioEx you can simulate a state-of-the-art experiment just running the train, test_model and finetune commands; evaluating and saving the trained model; and start focusing on the explainability task!

Supported deep learning architectures

  • Chambon2018 model for sleep stage classification ( raw time series as input).
  • TinySleepNet model for sleep stage classification (raw time series as input).
  • SeqSleepNet model for sleep stage classification (time-frequency images as input).

Supported datasets

For the public available datasets ( DCSM, HMC ) PhysioEx takes care of automatically download the data thanks to the preprocess command. The other datasets needs to be acquired first ( mostly on NSSR ) and then fetched by PhysioEx via the preprocess command.

Installation guidelines

Create a Virtual Environment (Optional but Recommended)

    conda create -n physioex python==3.10
    conda activate physioex
    conda install pip
    pip install --upgrade pip  # On Windows, use `venv\Scripts\activate`

Install via pip

  1. Install PhysioEx from PyPI:
pip install physioex

Install from source

  1. Clone the Repository:
   git clone https://github.com/guidogagl/physioex.git
   cd physioex
  1. Install Dependencies and Package in Development Mode
    pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

physioex-1.0.0.dev2.tar.gz (76.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

physioex-1.0.0.dev2-py3-none-any.whl (68.2 MB view details)

Uploaded Python 3

File details

Details for the file physioex-1.0.0.dev2.tar.gz.

File metadata

  • Download URL: physioex-1.0.0.dev2.tar.gz
  • Upload date:
  • Size: 76.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for physioex-1.0.0.dev2.tar.gz
Algorithm Hash digest
SHA256 586408fb23283d301e5a25a095395ae1227ddac0edd03ac5e51afe5099f33307
MD5 aac7d310331405e43a1377f800213a04
BLAKE2b-256 3d766f98e050a13f239fd4395bb6b53fe1dcf3384d933288b8d0c332f685d36d

See more details on using hashes here.

File details

Details for the file physioex-1.0.0.dev2-py3-none-any.whl.

File metadata

  • Download URL: physioex-1.0.0.dev2-py3-none-any.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for physioex-1.0.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc519b2806aa511dd32c269a7a4af8363e1d33d8b5a19b9c55c406a547fb6916
MD5 fcfb790b752b8930dc54e35dc237765e
BLAKE2b-256 75ae9fab83f65b47573b7b3f00750f32f007cf9e65c2be4c2dbb3119525f33a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page