From 20ea508eb6142edcfb2666899f4fc8a2c6cde733 Mon Sep 17 00:00:00 2001 From: Phil Olynyk Date: Wed, 6 Apr 2022 12:23:43 -0400 Subject: [PATCH] Remove smoothing from 2 sec pressure graphs --- oscar/SleepLib/loader_plugins/resmed_loader.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oscar/SleepLib/loader_plugins/resmed_loader.cpp b/oscar/SleepLib/loader_plugins/resmed_loader.cpp index 5b9e7d62..e7f9fabd 100644 --- a/oscar/SleepLib/loader_plugins/resmed_loader.cpp +++ b/oscar/SleepLib/loader_plugins/resmed_loader.cpp @@ -3212,18 +3212,18 @@ bool ResmedLoader::LoadPLD(Session *sess, const QString & path) code = CPAP_Pressure; // es.physical_maximum = 25; // es.physical_minimum = 4; - ToTimeDelta(sess, edf, es, code, samples, duration, 0, 0, square); + ToTimeDelta(sess, edf, es, code, samples, duration, 0, 0, true); } else if (matchSignal(CPAP_IPAP, es.label)) { code = CPAP_IPAP; // es.physical_maximum = 25; // es.physical_minimum = 4; - ToTimeDelta(sess, edf, es, code, samples, duration, 0, 0, square); + ToTimeDelta(sess, edf, es, code, samples, duration, 0, 0, true); } else if (matchSignal(CPAP_EPAP, es.label)) { // Expiratory Pressure code = CPAP_EPAP; // es.physical_maximum = 25; // es.physical_minimum = 4; - ToTimeDelta(sess, edf, es, code, samples, duration, 0, 0, square); + ToTimeDelta(sess, edf, es, code, samples, duration, 0, 0, true); } else if (matchSignal(CPAP_MinuteVent,es.label)) { code = CPAP_MinuteVent; ToTimeDelta(sess, edf, es, code, samples, duration, 0, 0, square);