# Python DataRequest for Waveforms data

**URL:** https://discourse.kitware.com/t/python-datarequest-for-waveforms-data/1447
**Category:** Pulse Physiology Engine
**Created:** [January 22, 2025, 9:37am UTC](https://discourse.kitware.com/t/python-datarequest-for-waveforms-data/1447 "2025-01-22T09:37:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![steven](https://discourse.kitware.com/user_avatar/discourse.kitware.com/steven/32/978_2.png) [@steven](https://discourse.kitware.com/u/steven)
#### Post date: [January 22, 2025, 9:37am UTC](https://discourse.kitware.com/t/python-datarequest-for-waveforms-data/1447/1 "2025-01-22T09:37:37Z")

</div>

Hi,  
I wanted to ask is there a way in the SEdatarequest in python to get the data for OxygenSaturation and RespirationRate on generating the waveforms. Because I manage for the ECG and ArterialPressure but was wondering if those two are possible as well?

```auto
  self.data_requests = [
            # Numeric value
            SEDataRequest.create_physiology_request("HeartRate", unit=FrequencyUnit.Per_min),
            SEDataRequest.create_physiology_request("SystolicArterialPressure", unit=PressureUnit.mmHg),
            SEDataRequest.create_physiology_request("DiastolicArterialPressure", unit=PressureUnit.mmHg),
            SEDataRequest.create_physiology_request("RespirationRate", unit=FrequencyUnit.Per_min),
            SEDataRequest.create_physiology_request("OxygenSaturation"),
            SEDataRequest.create_physiology_request("CoreTemperature", unit=TemperatureUnit.C),

            # Waveforms
            SEDataRequest.create_ecg_request("Lead3ElectricPotential"),
            SEDataRequest.create_physiology_request("ArterialPressure", unit=PressureUnit.mmHg),
        ]
 self.data_req_mgr = SEDataRequestManager(self.data_requests)

```

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [January 22, 2025, 3:06pm UTC](https://discourse.kitware.com/t/python-datarequest-for-waveforms-data/1447/2 "2025-01-22T15:06:24Z")

</div>

Our vitals monitor uses the end tidal CO2 partial pressure for the yellow respiration related waveform

![image](https://discourse.kitware.com/uploads/default/original/2X/f/ff9a94fb32ef19e0385e7ae3d2d090bbce227f5f.png)

[Here are all the data requests we use for our vitals monitor](https://gitlab.kitware.com/physiology/engine/-/blob/stable/src/python/pulse/engine/PulseEngine.py?ref_type=heads#L72)
