code: def test_wienter_filter_spike():
      np.random.seed(0)
      N = 2048
      dt = 0.05
  
      t = dt * np.arange(N)
      h = np.exp(-0.5 * ((t - 20.0) / 1.0) ** 2) + 10
      hN = h + np.random.normal(0, 0.05, size=h.shape)
      h_smooth = wiener_filter(t, hN)
  
      assert_allclose(h, h_smooth, atol=0.03)
  
file_path: astroML/astroML/tests/test_filters.py
imports: import pytest
  import numpy
  from numpy.testing import assert_allclose
  from astroML.filters import savitzky_golay, wiener_filter
  from astroML.utils.exceptions import AstroMLDeprecationWarning
label_desc: Use image node_id 4 for calling a global function with example usage: test_wienter_filter_spike() without return types