class_docstr: Benchmark `scipy.signal.peak_prominences`.
class_docstr_tok: ["Benchmark","`","scipy.signal.peak_prominences","`","."]
code: def setup(self, wlen):
      self.x = electrocardiogram()
      self.peaks = find_peaks(self.x)[0]
  
file_path: scipy/benchmarks/benchmarks/peak_finding.py
imports: from .common import Benchmark, safe_import
label_desc: Use image node_id 1 for calling the PeakProminences obj's underlying member method code with example usage: obj.setup(wlen) without return types