code: def testRegressionDifferentPeaks(self):
      freq_speaks = [55, 85]
      mag_speaks = [1, 1]
      calculatedPitchSalience1 = PitchSalienceFunction()(
          freq_speaks, mag_speaks
      )
      bins, values = PitchSalienceFunctionPeaks()(
          calculatedPitchSalience1
      )
      self.assertEqualVector(bins, [0.0, 75.0])
      self.assertEqualVector(values, [1.0, 1.0])
  
      bins, values = PitchSalienceFunctionPeaks()(
          calculatedPitchSalience1
      )
      mag_speaks = [0.5, 2]
      calculatedPitchSalience2 = PitchSalienceFunction()(
          freq_speaks, mag_speaks
      )
      bins, values = PitchSalienceFunctionPeaks()(
          calculatedPitchSalience2
      )
      self.assertEqualVector(bins, [75.0, 0.0])
      self.assertEqualVector(values, [2.0, 0.5])
  
file_path: essentia/test/src/unittests/tonal/test_pitchsaliencefunctionpeaks.py
imports: from essentia_test import *
  from numpy import *
label_desc: Use image node_id 15 for calling the TestPitchSalienceFunctionPeaks obj's underlying member method code with example usage: obj.testRegressionDifferentPeaks() without return types