code: def test_wiener_filter_simple():
      t = np.linspace(0, 1, 256)
      h = np.zeros_like(t)
      h[::2] = 1000
      s = wiener_filter(t, h)
      assert_allclose(s, np.mean(h))
  
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 3 for calling a global function with example usage: test_wiener_filter_simple() without return types