code: def test3PeaksHw1(self):
      freq_speaks = [55, 100, 340]
      mag_speaks = [1, 1, 1]
      calculatedPitchSalience = PitchSalienceFunction(
          harmonicWeight=1.0
      )(freq_speaks, mag_speaks)
      # Save operation is commented out. Uncomment to tweak parameters orinput to genrate new referencesw when required.
      # save('calculatedPitchSalience_test3PeaksHw1.npy', calculatedPitchSalience)
      # Reference samples are loaded as expected values
      expectedPitchSalience = load(
          join(
              filedir(),
              "pitchsalience/calculatedPitchSalience_test3PeaksHw1.npy",
          )
      )
      expectedPitchSalienceList = expectedPitchSalience.tolist()
      self.assertAlmostEqualVectorFixedPrecision(
          expectedPitchSalienceList, calculatedPitchSalience, 8
      )
  
imports: from essentia_test import *
  from numpy import *
label_desc: Use image node_id 11 for calling the TestPitchSalienceFunction obj's underlying member method code with example usage: obj.test3PeaksHw1() without return types