code: def testRegression(self):
      # Test the output for n_octave from 1 to 7 (higher octaves need more values at the expected vector).
      for n_octave in range(1, 8):
          output_size = 40 + 36 * (n_octave - 1)
          logfreqspectrogram = getLogSpectrumReference(
              n_octave=n_octave
          )
          self.assertAlmostEqualVector(
              logfreqspectrogram, _expected[:output_size], 1e-4
          )
  
file_path: essentia/test/src/unittests/spectral/test_logspectrum.py
imports: from essentia_test import *
  import numpy
label_desc: Use image node_id 1 for calling the TestLogSpectrum obj's underlying member method code with example usage: obj.testRegression() without return types