Skip to main content

A python package for respiratory air flow rates analysis

Project description

pybreathe: a python package for respiratory air flow rates analysis

Get started

First of all, we highly recommend that you install miniconda on your machine.

To set up the virtual environment required for respiratory flow analysis, open Anaconda prompt and please run (only the first time):

$ conda create --name pybreathe
$ conda activate pybreathe
$ pip install pybreathe
$ conda install conda-forge::jupyterlab

If you encounter an error stating that pip cannot be found, then run: $ conda install anaconda::pip

Then, every time you want to analyze data, open Anaconda prompt and activate the virtual environment with:

$ conda activate pybreathe

(do not reinstall pybreathe each time)

To get started with pybreathe API, we strongly recommend that you use and refer to the example scripts. The package comes with example scripts based on simulated breathing signals that are representative of the data that can be collected experimentally. They explain the milestones involved in carrying out an analysis (feature extraction) and they supply useful documentation.

Run the example script (or any other) with:

$ jupyter lab example.ipynb

/!\ You must either be in the same directory as your .ipynb file, or specify the absolute path. You can either move to your directory with the $ cd command (e.g., $ cd algo/test) or you can type the command : $ jupyter lab and then drag and drop your file into the terminal. This will automatically copy the absolute path of your file: $ jupyter lab '/home/tcoustillet/algo/test/example.ipynb'

Once the example notebook is open, you can run the cells one by one and understand how pybreathe works. To analyse your own data, create a new notebook and refer to the examples for how the API works.

Finally, to quit the analysis, please follow these steps:

  • Right clic on your .ipynb file in the tree, then "Shut Down Kernel"
  • Clic on "File", the "Shut Down"
  • When you regain control in your terminal, run:
$ conda deactivate

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

pybreathe-0.0.1.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

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

pybreathe-0.0.1-py3-none-any.whl (3.9 MB view details)

Uploaded Python 3

File details

Details for the file pybreathe-0.0.1.tar.gz.

File metadata

  • Download URL: pybreathe-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pybreathe-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b4b9e8b50ab0f19263bd0d177835e9b8e35f3d4e4054f5aae043f2a84f1658e4
MD5 29dd8914fcde7efe9288df8cd6d88bb1
BLAKE2b-256 aee98fb011ccc8462421f3e3a44c1c503bfc99c0c8453e76278a99229191b268

See more details on using hashes here.

File details

Details for the file pybreathe-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pybreathe-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pybreathe-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 04a584b206800f0c62c9af2304fe6eb3e31134621497b2357020e3083e624318
MD5 7cfc8122d3f0b406e2db441001f8d0a5
BLAKE2b-256 23987d8e1435953d92f79cdb72be0ca8a5c05fb1b9d7963f03ad3549668ddf83

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