code: def test_notes(self):
      res = run_script(
          "notes",
          det_suffix=".piano_transcriptor.txt",
          args=["-w", "0.05"],
      )
      # second line contains the summed results
      sum_res = np.fromiter(res[1].split(",")[1:], dtype=float)
      self.assertTrue(np.allclose(sum_res, [8, 0, 0, 0, 8, 1, 1, 1, 1]))
      # third line contains the mean results
      mean_res = np.fromiter(res[2].split(",")[1:], dtype=float)
      self.assertTrue(np.allclose(mean_res, sum_res))
  
file_path: madmom/tests/test_bin_evaluate.py
imports: from __future__ import absolute_import, division, print_function
  import imp
  import os
  import sys
  import unittest
  import numpy
  from .None import ANNOTATIONS_PATH, DETECTIONS_PATH
  from madmom.evaluation.beats import BeatIntervalError
label_desc: Use image node_id 6 for calling the TestEvaluateScript obj's underlying member method code with example usage: obj.test_notes() without return types