Remove smoothing from 2 sec pressure graphs

This commit is contained in:
Phil Olynyk 2022-04-06 12:23:43 -04:00
parent 6af5747abb
commit 20ea508eb6

View File

@ -3212,18 +3212,18 @@ bool ResmedLoader::LoadPLD(Session *sess, const QString & path)
code = CPAP_Pressure; code = CPAP_Pressure;
// es.physical_maximum = 25; // es.physical_maximum = 25;
// es.physical_minimum = 4; // 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)) { } else if (matchSignal(CPAP_IPAP, es.label)) {
code = CPAP_IPAP; code = CPAP_IPAP;
// es.physical_maximum = 25; // es.physical_maximum = 25;
// es.physical_minimum = 4; // 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 } else if (matchSignal(CPAP_EPAP, es.label)) { // Expiratory Pressure
code = CPAP_EPAP; code = CPAP_EPAP;
// es.physical_maximum = 25; // es.physical_maximum = 25;
// es.physical_minimum = 4; // 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)) { } else if (matchSignal(CPAP_MinuteVent,es.label)) {
code = CPAP_MinuteVent; code = CPAP_MinuteVent;
ToTimeDelta(sess, edf, es, code, samples, duration, 0, 0, square); ToTimeDelta(sess, edf, es, code, samples, duration, 0, 0, square);