original_docstring: Calculates a one-dimensional spline filter along the given axis.
  
      The lines of the array along the given axis are filtered by a
      spline filter. The order of the spline must be >= 2 and <= 5.
      
docstring: Calculates a one-dimensional spline filter along the given axis.
  The lines of the array along the given axis are filtered by a
  spline filter. The order of the spline must be >= 2 and <= 5.
docstring_tokens: Calculates a one - dimensional spline filter along the given axis . The lines of the array along the given axis are filtered by a spline filter . The order of the spline must be > = 2 and < = 5 .
code: def spline_filter1d(input, order = 3, axis = -1, output = numarray.Float64,
                      output_type = None):
      """Calculates a one-dimensional spline filter along the given axis.
  
      The lines of the array along the given axis are filtered by a
      spline filter. The order of the spline must be >= 2 and <= 5.
      """
      if order < 0 or order > 5:
          raise RuntimeError, 'spline order not supported'
      input = numarray.asarray(input)
      if isinstance(input.type(), numarray.ComplexType):
          raise TypeError, 'Complex type not supported'
      output, return_value = _ni_support._get_output(output, input,
                                                      output_type)
      if order in [0, 1]:
          output[...] = numarray.array(input)
      else:
          axis = _ni_support._check_axis(axis, input.rank)
          _nd_image.spline_filter1d(input, order, axis, output)
      return return_value
code_tokens: def spline_filter1d ( input , order = 3 , axis = - 1 , output = numarray . Float64 , output_type = None ) : if order < 0 or order > 5 : raise RuntimeError , 'spline order not supported' input = numarray . asarray ( input ) if isinstance ( input . type ( ) , numarray . ComplexType ) : raise TypeError , 'Complex type not supported' output , return_value = _ni_support . _get_output ( output , input , output_type ) if order in [ 0 , 1 ] : output [ ... ] = numarray . array ( input ) else : axis = _ni_support . _check_axis ( axis , input . rank ) _nd_image . spline_filter1d ( input , order , axis , output ) return return_value
short_docstring: Calculates a one-dimensional spline filter along the given axis.
short_docstring_tokens: Calculates a one - dimensional spline filter along the given axis .
comment: """Calculates a one-dimensional spline filter along the given axis.
  
      The lines of the array along the given axis are filtered by a
      spline filter. The order of the spline must be >= 2 and <= 5.
      """