removeResidualQrs method

bool removeResidualQrs(
  1. double diffEcg,
  2. double thres1,
  3. double thres2
)

Implementation

bool removeResidualQrs(double diffEcg, double thres1, double thres2) {
  if (diffEcg > thres1 || diffEcg < thres2) {
    removeBool = true;
  } else {
    removeBool = false;
  }

  return removeBool;
}