Skip to main content

A toolbox to extract data from the ASL5000

Project description

PyPI version


A bunch of functions to extract data from the ASL 5000.

What's the ASL?

The ASL 5000™ is a breathing simulator capable of simulating a wide range of patients, produced by IngMar Medical©. It is mainly used for educational purpose, developing products and testing ventilators. Check the IngMar Medical website for more information.


The ASL5000 utils can be installed using the pip package manager:

pip install asl5000-utils


Let's our environment be:


import asl5000_utils as asl
import matplotlib.pyplot as plt

labels, array = asl.read_rwb("./data/simulation.rwb")
# ['Time (sec)', 'Airway Pressure (cmH2O)', 'Muscle Pressure (cmH2O)', 'Tracheal Pressure (cmH2O)', 'Chamber 1 Volume (L)', 'Chamber 2 Volume (L)', 'Total Volume (L)', 'Chamber 1 Pressure (cmH2O)', 'Chamber 2 Pressure (cmH2O)', 'Breath File Number (#)', 'Aux 1 (V)', 'Aux 2 (V)', 'Oxygen Sensor (V)']
time = array[0]
time_label = labels[0]
curves = [1, 6, 2]  # Paw, Volume, Pmus

fig, ax = plt.subplots(len(curves), 1, sharex=True)
plt.title("Example: visualizing the rwb data using matplotlib")
for i, index in enumerate(curves):
    ax[i].plot(time, array[index])

for a in ax:


In the same way, you can use asl.read_avb or asl.read_brb to read data/simulation.avb or data/simulation.brb.

Project details

Download files

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

Files for asl5000-utils, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size asl5000_utils-0.1.0-py3-none-any.whl (15.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size asl5000-utils-0.1.0.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page