code: def test_wavelets(t0, f0, Q):
      t = np.linspace(-10, 10, 10000)
      h = sinegauss(t, t0, f0, Q)
      f, H = FT_continuous(t, h)
      H2 = sinegauss_FT(f, t0, f0, Q)
      assert_allclose(H, H2, atol=1e-8)
  
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 1 for calling a global function with example usage: test_wavelets(t0, f0, Q) without return types