From 9f5373ed91ad0a047ae0581c29dcb23f9158c499 Mon Sep 17 00:00:00 2001 From: Guy Scharf Date: Sat, 24 Jul 2021 21:12:15 -0700 Subject: [PATCH] Refactor functions that act on all AHI-contributing channels. Add new AllAhiChannels ChannelID to refer to all channels that contribute to AHI. List of AHI-contributing channels is in "ahiChannels" QVector. --- Htmldocs/release_notes.html | 4 ++ oscar/Graphs/gLineChart.cpp | 13 +++-- oscar/Graphs/gSessionTimesChart.cpp | 5 +- oscar/Graphs/gSessionTimesChart.h | 12 +++-- oscar/Graphs/gdailysummary.cpp | 12 +++-- oscar/SleepLib/calcs.cpp | 84 ++++++++++++++++++----------- oscar/SleepLib/common.cpp | 4 +- oscar/SleepLib/common.h | 1 + oscar/SleepLib/day.cpp | 12 +++++ oscar/SleepLib/day.h | 8 +-- oscar/SleepLib/machine_common.cpp | 4 +- oscar/SleepLib/machine_common.h | 4 +- oscar/SleepLib/machine_loader.cpp | 11 ++-- oscar/SleepLib/schema.cpp | 15 ++++++ oscar/SleepLib/session.cpp | 17 +++++- oscar/daily.cpp | 31 ++++++++--- oscar/exportcsv.cpp | 17 +++--- oscar/reports.cpp | 6 ++- oscar/statistics.cpp | 27 ++++++---- oscar/tests/sessiontests.cpp | 1 + oscar/welcome.cpp | 3 +- 21 files changed, 207 insertions(+), 84 deletions(-) diff --git a/Htmldocs/release_notes.html b/Htmldocs/release_notes.html index b246c8fd..f619610a 100644 --- a/Htmldocs/release_notes.html +++ b/Htmldocs/release_notes.html @@ -15,6 +15,8 @@
Portions of OSCAR are © 2019-2021 by The OSCAR Team