code: def testSinglePeakHw1(self):
      freq_speaks = [55]
      mag_speaks = [1]
      outputLength = 600
      expectedPitchSalience = [
          1.0000000e00,
          9.7552824e-01,
          9.0450847e-01,
          7.9389262e-01,
          6.5450847e-01,
          5.0000000e-01,
          3.4549147e-01,
          2.0610739e-01,
          9.5491491e-02,
          2.4471754e-02,
          3.7493994e-33,
      ]
      # Append zeros to expected saliences
      expectedPitchSalience += [0] * (outputLength - 11)
  
      calculatedPitchSalience = PitchSalienceFunction(
          harmonicWeight=1.0
      )(freq_speaks, mag_speaks)
      self.assertEqual(len(calculatedPitchSalience), outputLength)
      # Check the first 11 elements. The first has value "1"
      # The next 10 values are decreasing in magnitude, then zeros.
      self.assertAlmostEqualVectorFixedPrecision(
          calculatedPitchSalience, expectedPitchSalience, 8
      )
  
imports: from essentia_test import *
  from numpy import *
label_desc: Use image node_id 10 for calling the TestPitchSalienceFunction obj's underlying member method code with example usage: obj.testSinglePeakHw1() without return types