code: def test_compare_with_matlab_toolbox(self):
      # compare the results with the MATLAB chroma toolbox. There are
      # differences because of different resampling and filtering with
      # filtfilt, therefore we compare with higher tolerances
      tar = np.array(
          [
              0.28202948,
              0.21473163,
              0.29178235,
              0.31837119,
              0.21773027,
              0.24484771,
              0.16606759,
              0.32054708,
              0.39850856,
              0.30126012,
              0.26116133,
              0.36386101,
          ]
      )
      self.assertTrue(np.allclose(self.clp_50[39, :], tar, rtol=1e-02))
      tar = np.array(
          [
              0.62898520,
              0.63870508,
              0.64272228,
              0.63746036,
              0.60277398,
              0.56819617,
              0.49709058,
              0.40472238,
              0.38589948,
              0.39892429,
              0.43579584,
          ]
      )
      self.assertTrue(
          np.allclose(self.clp_50[100:111, 8], tar, rtol=1e-02)
      )
      tar = np.array(
          [
              [0.22728066, 0.42691203],
              [0.23012684, 0.49625964],
              [0.20832211, 0.53284996],
              [0.21247771, 0.49591485],
          ]
      )
      self.assertTrue(
          np.allclose(self.clp_10[2:6, 7:9], tar, rtol=2e-02)
      )
  
file_path: madmom/tests/test_audio_chroma.py
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  import numpy
  from madmom.audio.chroma import DeepChromaProcessor, CLPChroma
  from madmom.audio.signal import Signal
  from madmom.features import Activations
  from .None import AUDIO_PATH, ACTIVATIONS_PATH
label_desc: Use image node_id 3 for calling the TestCLPChromaClass obj's underlying member method code with example usage: obj.test_compare_with_matlab_toolbox() without return types