code: def testNyquist(self):
      # input is [1, -1, 1, -1, ...] which corresponds to a sine of frequency Fs/2
      signalSize = 1024
  
      timeSignal = ones(signalSize).astype(numpy.complex64)
      for i in range(signalSize):
          if i % 2 == 1:
              timeSignal[i] = -1.0
  
      freqSignal = [0 + 0j] * signalSize
      freqSignal[signalSize // 2] = (1 + 0j) * signalSize
  
      self.assertAlmostEqualVector(
          IFFTC()(cvec(freqSignal)), timeSignal
      )
  
file_path: essentia/test/src/unittests/standard/test_ifftc.py
imports: from essentia_test import *
  import math
label_desc: Use image node_id 2 for calling the TestIFFT obj's underlying member method code with example usage: obj.testNyquist() without return types