code: def test_process(self):
      notes = self.processor(sample_act_rnn)
      self.assertTrue(np.allclose(notes, self.result))
      self.processor.threshold = 2
      notes = self.processor(sample_act_rnn)
      self.assertTrue(np.allclose(notes, np.zeros((0, 2))))
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.features import Activations
  from madmom.features.notes import *
  from madmom.io import load_notes
  from .None import ACTIVATIONS_PATH, AUDIO_PATH, DETECTIONS_PATH
label_desc: Use image node_id 2 for calling the TestNoteOnsetPeakPickingProcessorClass obj's underlying member method code with example usage: obj.test_process() without return types