def fourier_gaussian(input, sigma, n=(-1), axis=(-1), output=None):
 input = numpy.asarray(input)
 (output, return_value) = _get_output_fourier(output, input)
 axis = _ni_support._check_axis(axis, input.ndim)
 sigmas = _ni_support._normalize_sequence(sigma, input.ndim)
 sigmas = numpy.asarray(sigmas, dtype=numpy.float64)
 if (not sigmas.flags.contiguous):
  sigmas = sigmas.copy()
 _nd_image.fourier_filter(input, sigmas, n, axis, output, 0)
 return return_value

def fourier_gaussian ( input , sigma , n = ( - 1 ) , axis = ( - 1 ) , output = None ) : input = numpy . asarray ( input ) ( output , return_value ) = _get_output_fourier ( output , input ) axis = _ni_support . _check_axis ( axis , input . ndim ) sigmas = _ni_support . _normalize_sequence ( sigma , input . ndim ) sigmas = numpy . asarray ( sigmas , dtype = numpy . float64 ) if ( not sigmas . flags . contiguous ) : sigmas = sigmas . copy ( ) _nd_image . fourier_filter ( input , sigmas , n , axis , output , 0 ) return return_value
multi-dimensional gaussian fourier filter .