docstr: Test prominence condition for peaks.
docstr_tok: ["Test","prominence","condition","for","peaks","."]
code: def test_prominence_condition(self, xp, scp):
      """
      Test prominence condition for peaks.
      """
      x = xp.linspace(0, 10, 100)
      peaks_true = xp.arange(1, 99, 2)
      offset = xp.linspace(1, 10, peaks_true.size)
      x[peaks_true] += offset
      interval = (3, 9)
  
      peaks, props = scp.signal.find_peaks(x, prominence=interval)
      return (peaks,) + tuple(
          [props[k] for k in self.property_keys if k in props]
      )
  
imports: import pytest
  import cupy
  from cupy.cuda import driver
  from cupy.cuda import runtime
  from cupy import testing
  import cupyx.scipy.signal
  import numpy
label_desc: Use image node_id 7 for calling the TestFindPeaks obj's underlying member method code with example usage: obj.test_prominence_condition(xp, scp) and returns: unknown