code: def test_anat_smooth():
      anat = load_image(anatfile)
      smoother = LinearFilter(anat.coordmap, anat.shape)
      sanat = smoother.smooth(anat)
      assert sanat.shape == anat.shape
      assert sanat.coordmap == anat.coordmap
      assert not np.allclose(sanat.get_fdata(), anat.get_fdata())
  
file_path: nipy/nipy/algorithms/tests/test_kernel_smooth.py
imports: import numpy
  import pytest
  from numpy.random import randint
  from numpy.testing import assert_array_almost_equal
  from transforms3d.taitbryan import euler2mat
  from ...None import load_image
  from ...core.api import AffineTransform, Image, compose, drop_io_dim
  from ...testing import anatfile, funcfile
  from ..kernel_smooth import LinearFilter, fwhm2sigma, sigma2fwhm
label_desc: Use image node_id 1 for calling a global function with example usage: test_anat_smooth() without return types