code: def test_IFT_FT():
      # Test IFT(FT(x)) = x
      np.random.seed(0)
      t = -50 + 0.01 * np.arange(10000.0)
      x = np.random.random(10000)
  
      f, y = FT_continuous(t, x)
      t, xp = IFT_continuous(f, y)
  
      assert_allclose(x, xp, atol=1e-7)
  
file_path: astroML/astroML/tests/test_fourier.py
imports: import pytest
  import numpy
  from numpy.testing import assert_allclose
  from astroML.fourier import FT_continuous, IFT_continuous, PSD_continuous, sinegauss, sinegauss_FT
label_desc: Use image node_id 8 for calling a global function with example usage: test_IFT_FT() without return types