code: def _set_conf(self):
          
          self.rr_init = 60 * self.fs / self.conf.hr_init
          self.rr_max = 60 * self.fs / self.conf.hr_min
          self.rr_min = 60 * self.fs / self.conf.hr_max
  
          # Note: if qrs_width is odd, qrs_width == qrs_radius*2 + 1
          self.qrs_width = int(self.conf.qrs_width * self.fs)
          self.qrs_radius = int(self.conf.qrs_radius * self.fs)
  
          self.qrs_thr_init = self.conf.qrs_thr_init
          self.qrs_thr_min = self.conf.qrs_thr_min
  
          self.ref_period = int(self.conf.ref_period * self.fs)
          self.t_inspect_period = int(self.conf.t_inspect_period * self.fs)
docs: Set configuration parameters from the Conf object into the detector
          object.
  
          Time values are converted to samples, and amplitude values are in mV.