def fourier_ellipsoid(input, size, 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)
 sizes = _ni_support._normalize_sequence(size, input.ndim)
 sizes = numpy.asarray(sizes, dtype=numpy.float64)
 if (not sizes.flags.contiguous):
  sizes = sizes.copy()
 _nd_image.fourier_filter(input, sizes, n, axis, output, 2)
 return return_value

def fourier_ellipsoid ( input , size , 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 ) sizes = _ni_support . _normalize_sequence ( size , input . ndim ) sizes = numpy . asarray ( sizes , dtype = numpy . float64 ) if ( not sizes . flags . contiguous ) : sizes = sizes . copy ( ) _nd_image . fourier_filter ( input , sizes , n , axis , output , 2 ) return return_value
multi-dimensional ellipsoid fourier filter .