Package ndimage :: Module _ni_support
[hide private]
[frames] | no frames]

Module _ni_support

source code

Functions [hide private]
 
_extend_mode_to_code(mode)
Convert an extension mode to the corresponding integer code.
source code
 
_normalize_sequence(input, rank, array_type=None)
If input is a scalar, create a sequence of length equal to the rank by duplicating the input.
source code
 
_get_output(output, input, output_type=None, shape=None) source code
 
_check_axis(axis, rank) source code
Variables [hide private]
  __package__ = 'ndimage'

Imports: types, numpy, warnings


Function Details [hide private]

_normalize_sequence(input, rank, array_type=None)

source code 

If input is a scalar, create a sequence of length equal to the rank by duplicating the input. If input is a sequence, check if its length is equal to the length of array.