diff --git a/wfdb/processing/qrs.py b/wfdb/processing/qrs.py index 052f1dd9..2f0c6961 100644 --- a/wfdb/processing/qrs.py +++ b/wfdb/processing/qrs.py @@ -1230,20 +1230,20 @@ def sm(self, at_t): smtpj = self.at(smt + j) smtlj = self.at(smt - j) v += int(smtpj + smtlj) - self.smv_put( - smt, - (v << 1) - + self.at(smt + j + 1) - + self.at(smt - j - 1) - - self.adc_zero * (smdt << 2), - ) - - self.SIG_SMOOTH.append( - (v << 1) - + self.at(smt + j + 1) - + self.at(smt - j - 1) - - self.adc_zero * (smdt << 2) - ) + self.smv_put( + smt, + (v << 1) + + self.at(smt + j + 1) + + self.at(smt - j - 1) + - self.adc_zero * (smdt << 2), + ) + + self.SIG_SMOOTH.append( + (v << 1) + + self.at(smt + j + 1) + + self.at(smt - j - 1) + - self.adc_zero * (smdt << 2) + ) self.c.smt = smt return self.smv_at(at_t)