code: def testNyquist(self):
      inputSize = 2**11
      signalNyquist = [-1, 1] * int(inputSize / 2)
  
      CQ, DC, Nyquist = self.initNsgconstantq(inputSize=inputSize)(
          signalNyquist
      )
  
      # Checks that all the energy is contained in the Nyquist band
      self.assertEqual(np.sum(np.abs(CQ)), 0)
      self.assertEqual(np.sum(np.abs(DC)), 0)
      self.assertGreater(np.sum(np.abs(Nyquist)), 0)
  
file_path: essentia/test/src/unittests/standard/test_nsgconstantq.py
imports: from essentia_test import *
  import numpy
label_desc: Use image node_id 4 for calling the TestNSGConstantQ obj's underlying member method code with example usage: obj.testNyquist() without return types