Documentation of toolbox physio

physio is a python toolbox to analyse physiological signals : respiration and ECG

Authors

physio is developped by Samuel Garcia, Valentin Ghibaudo and Jules Granget.

This toolbox is used by the CMO team in the Centre de recherche en Neurosciences de Lyon (CRNL)

Manuscript

This work has been published at eNeuro : https://www.eneuro.org/content/10/10/ENEURO.0197-23.2023

Features

  • respiration cycle detection

  • respiration cycle features (amplitude, duration, volumes …)

  • simple preprocess on signal : filter using scipy and smoothing

  • ecg peak detection

  • ecg/hrv metrics (time domain and frequency domain)

  • rsa : new approach to get cycle-by-cycle metrics

  • cyclic deformation machinery : a simple stretcher of any signal to cycle template

  • simple reader of micromed and brainvision using neo

  • “auto-magic” parameters for different species

orphan:

Examples

Here some generated examples.

They are downloadable as notebooks or python scripts.

Getting started tutorial

Getting started tutorial

Respiration tutorial

Respiration tutorial

ECG tutorial

ECG tutorial

Cyclic deformation tutorial

Cyclic deformation tutorial

RSA tutorial

RSA tutorial

Cardio-respiratory synchronization

Cardio-respiratory synchronization

Gallery generated by Sphinx-Gallery

Installation

Installation from pypi:

pip install physio

Installation from sources:

git clone https://github.com/samuelgarcia/physio.git
cd physio
pip install -e .

Update from source:

cd physio
git pull origin main

Indices and tables