mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
Oximetry Bug fix (in W-avg calculation)
This commit is contained in:
parent
b41f22be50
commit
d8fda1aba1
@ -163,9 +163,9 @@ void SummaryChart::paint(gGraph & w,int left, int top, int width, int height)
|
||||
|
||||
EventDataType maxy=m_maxy;
|
||||
EventDataType miny=m_miny;
|
||||
if (m_codes[0]=="HumidSet") {
|
||||
/*if (m_codes[0]=="HumidSet") {
|
||||
int i=1;
|
||||
}
|
||||
}*/
|
||||
|
||||
w.roundY(miny,maxy);
|
||||
|
||||
|
@ -729,6 +729,7 @@ EventDataType Session::wavg(ChannelID id)
|
||||
EventDataType gain=evec[0]->gain();
|
||||
|
||||
for (int i=0;i<evec.size();i++) {
|
||||
if (!evec[i]->count()) continue;
|
||||
lastval=evec[i]->raw(0);
|
||||
lasttime=evec[i]->time(0);
|
||||
for (int j=1;j<evec[i]->count();j++) {
|
||||
|
Loading…
Reference in New Issue
Block a user