code: def testSinglePeak(self):
      # Provide a single input peak with a unit magnitude at the reference frequency, and
      # validate that the output salience function has only one non-zero element at the first bin.
      freq_speaks = [55]
      mag_speaks = [1]
      calculatedPitchSalience = PitchSalienceFunction()(
          freq_speaks, mag_speaks
      )
      bins, values = PitchSalienceFunctionPeaks()(
          calculatedPitchSalience
      )
      self.assertEqualVector(bins, [0.0])
      self.assertEqualVector(values, [1.0])
  
imports: from essentia_test import *
  from numpy import *
label_desc: Use image node_id 3 for calling the TestPitchSalienceFunctionPeaks obj's underlying member method code with example usage: obj.testSinglePeak() without return types