def spline_filter(input, order=3, output=numpy.float64, output_type=None):
    'Multi-dimensional spline filter.\n\n    Note: The multi-dimensional filter is implemented as a sequence of\n    one-dimensional spline filters. The intermediate arrays are stored\n    in the same data type as the output. Therefore, for output types\n    with a limited precision, the results may be imprecise because\n    intermediate results may be stored with insufficient precision.\n    '
    if ((order < 2) or (order > 5)):
        raise RuntimeError('spline order not supported')
    input = numpy.asarray(input)
    if numpy.iscomplexobj(input):
        raise TypeError('Complex type not supported')
    (output, return_value) = _ni_support._get_output(output, input, output_type)
    if ((order not in [0, 1]) and (input.ndim > 0)):
        for axis in range(input.ndim):
            spline_filter1d(input, order, axis, output=output)
            input = output
    else:
        output[...] = input[...]
    return return_value
Multi-dimensional spline filter.

Note: The multi-dimensional filter is implemented as a sequence of
one-dimensional spline filters. The intermediate arrays are stored
in the same data type as the output. Therefore, for output types
with a limited precision, the results may be imprecise because
intermediate results may be stored with insufficient precision.
def spline_filter(input, order=3, output=numpy.float64, output_type=None):
    'Multi-dimensional spline filter.\n\n    Note: The multi-dimensional filter is implemented as a sequence of\n    one-dimensional spline filters. The intermediate arrays are stored\n    in the same data type as the output. Therefore, for output types\n    with a limited precision, the results may be imprecise because\n    intermediate results may be stored with insufficient precision.\n    '
    if ((order < 2) or (order > 5)):
        raise RuntimeError('spline order not supported')
    input = numpy.asarray(input)
    if numpy.iscomplexobj(input):
        raise TypeError('Complex type not supported')
    (output, return_value) = _ni_support._get_output(output, input, output_type)
    if ((order not in [0, 1]) and (input.ndim > 0)):
        for axis in range(input.ndim):
            spline_filter1d(input, order, axis, output=output)
            input = output
    else:
        output[...] = input[...]
    return return_value