code: def _run_detection(self):
          
          if self.verbose:
              print('Running QRS detection...')
  
          # Detected qrs indices
          self.qrs_inds = []
          # qrs indices found via backsearch
          self.backsearch_qrs_inds = []
  
          # Iterate through mwi signal peak indices
          for self.peak_num in range(self.n_peaks_i):
              if self._is_qrs(self.peak_num):
                  self._update_qrs(self.peak_num)
              else:
                  self._update_noise(self.peak_num)
  
              # Before continuing to the next peak, do backsearch if
              # necessary
              if self._require_backsearch():
                  self._backsearch()
  
          # Detected indices are relative to starting sample
          if self.qrs_inds:
              self.qrs_inds = np.array(self.qrs_inds) + self.sampfrom
          else:
              self.qrs_inds = np.array(self.qrs_inds)
  
          if self.verbose:
              print('QRS detection complete.')
docs: Run the qrs detection after all signals and parameters have been
          configured and set.