From db8e76e0eee87a63df56498b43be43142aa5329a Mon Sep 17 00:00:00 2001
From: Peter Somhorst
Date: Mon, 16 Dec 2024 15:27:01 +0100
Subject: [PATCH] Add pressure pod bin file format
---
eitprocessing/datahandling/loading/draeger.py | 69 ++++++++++++++++++-
1 file changed, 68 insertions(+), 1 deletion(-)
diff --git a/eitprocessing/datahandling/loading/draeger.py b/eitprocessing/datahandling/loading/draeger.py
index 09d80450b..18d264fc7 100644
--- a/eitprocessing/datahandling/loading/draeger.py
+++ b/eitprocessing/datahandling/loading/draeger.py
@@ -325,5 +325,72 @@ class _MedibusField(NamedTuple):
_MedibusField("expiratory tidal volume", "mL", False),
_MedibusField("time at low pressure", "s", False),
],
- }
+ },
+ "pressure_pod": {
+ "frame_size": 4382,
+ "medibus_fields": [
+ _MedibusField("airway pressure", "mbar", True),
+ _MedibusField("flow", "L/min", True),
+ _MedibusField("volume", "mL", True),
+ _MedibusField("CO2 (%)", "%", True),
+ _MedibusField("CO2 (kPa)", "kPa", True),
+ _MedibusField("CO2 (mmHg)", "mmHg", True),
+ _MedibusField("dynamic compliance", "mL/mbar", False),
+ _MedibusField("resistance", "mbar/L/s", False),
+ _MedibusField("r^2", "", False),
+ _MedibusField("spontaneous inspiratory time", "s", False),
+ _MedibusField("minimal pressure", "mbar", False),
+ _MedibusField("P0.1", "mbar", False),
+ _MedibusField("mean pressure", "mbar", False),
+ _MedibusField("plateau pressure", "mbar", False),
+ _MedibusField("PEEP", "mbar", False),
+ _MedibusField("intrinsic PEEP", "mbar", False),
+ _MedibusField("mandatory respiratory rate", "/min", False),
+ _MedibusField("mandatory minute volume", "L/min", False),
+ _MedibusField("peak inspiratory pressure", "mbar", False),
+ _MedibusField("mandatory tidal volume", "L", False),
+ _MedibusField("spontaneous tidal volume", "L", False),
+ _MedibusField("trapped volume", "mL", False),
+ _MedibusField("mandatory expiratory tidal volume", "mL", False),
+ _MedibusField("spontaneous expiratory tidal volume", "mL", False),
+ _MedibusField("mandatory inspiratory tidal volume", "mL", False),
+ _MedibusField("tidal volume", "mL", False),
+ _MedibusField("spontaneous inspiratory tidal volume", "mL", False),
+ _MedibusField("negative inspiratory force", "mbar", False),
+ _MedibusField("leak minute volume", "L/min", False),
+ _MedibusField("leak percentage", "%", False),
+ _MedibusField("spontaneous respiratory rate", "/min", False),
+ _MedibusField("percentage of spontaneous minute volume", "%", False),
+ _MedibusField("spontaneous minute volume", "L/min", False),
+ _MedibusField("minute volume", "L/min", False),
+ _MedibusField("airway temperature", "degrees C", False),
+ _MedibusField("rapid shallow breating index", "1/min/L", False),
+ _MedibusField("respiratory rate", "/min", False),
+ _MedibusField("inspiratory:expiratory ratio", "", False),
+ _MedibusField("CO2 flow", "mL/min", False),
+ _MedibusField("dead space volume", "mL", False),
+ _MedibusField("percentage dead space of expiratory tidal volume", "%", False),
+ _MedibusField("end-tidal CO2", "%", False),
+ _MedibusField("end-tidal CO2", "kPa", False),
+ _MedibusField("end-tidal CO2", "mmHg", False),
+ _MedibusField("fraction inspired O2", "%", False),
+ _MedibusField("spontaneous inspiratory:expiratory ratio", "", False),
+ _MedibusField("elastance", "mbar/L", False),
+ _MedibusField("time constant", "s", False),
+ _MedibusField(
+ "ratio between upper 20% pressure range and total dynamic compliance",
+ "",
+ False,
+ ),
+ _MedibusField("end-inspiratory pressure", "mbar", False),
+ _MedibusField("expiratory tidal volume", "mL", False),
+ _MedibusField("high pressure", "mbar", False),
+ _MedibusField("low pressure", "mbar", False),
+ _MedibusField("time at low pressure", "s", False),
+ _MedibusField("airway pressure (pod)", "mbar", True),
+ _MedibusField("esophageal pressure (pod)", "mbar", True),
+ _MedibusField("transpulmonary pressure (pod)", "mbar", True),
+ _MedibusField("gastric pressure/auxiliary pressure (pod)", "mbar", True),
+ ],
+ },
}