code: def testRegression(self):
      spectrum = [1] * 1024
      expected = [
          1.45438981e00,
          1.81433212e02,
          2.04899731e03,
          8.41769434e03,
          2.25398730e04,
          4.75615469e04,
          8.64806875e04,
          1.42223219e05,
          2.17695609e05,
          3.15858281e05,
          4.39533906e05,
          5.91085625e05,
          7.71618000e05,
          9.79398250e05,
          1.20750662e06,
          1.43996650e06,
          1.64691088e06,
          1.78047738e06,
          1.77675975e06,
          1.57420688e06,
          1.15976588e06,
          6.31381562e05,
          1.99480609e05,
          1.94543945e04,
      ]
      mbands = self.InitERBBands(24)(spectrum)
      self.assertEqual(len(mbands), 24)
      self.assert_(not any(numpy.isnan(mbands)))
      self.assert_(not any(numpy.isinf(mbands)))
      self.assertAlmostEqualVector(mbands, expected, 1e-5)
  
file_path: essentia/test/src/unittests/spectral/test_erbbands.py
imports: from essentia_test import *
  import numpy
label_desc: Use image node_id 2 for calling the TestERBBands obj's underlying member method code with example usage: obj.testRegression() without return types