code: def testNyquist(self):
      inputSize = 512
      signalNyquist = [-1, 1] * int(inputSize / 2)
      expectedNyquist = [0] * int(inputSize / 2 + 1)
      expectedNyquist[-1] = inputSize
      outputNyquist = Spectrum()(signalNyquist)
      self.assertEqualVector(outputNyquist, expectedNyquist)
  
file_path: essentia/test/src/unittests/standard/test_spectrum.py
imports: from essentia_test import *
label_desc: Use image node_id 3 for calling the TestSpectrum obj's underlying member method code with example usage: obj.testNyquist() without return types