ndimage._ni_support

Module Contents

Functions

_extend_mode_to_code(mode) Convert an extension mode to the corresponding integer code.
_normalize_sequence(input,rank,array_type=None) If input is a scalar, create a sequence of length equal to the
_get_output(output,input,shape=None)
_check_axis(axis,rank)
_extend_mode_to_code(mode)

Convert an extension mode to the corresponding integer 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. If input is a sequence, check if its length is equal to the length of array.

_get_output(output, input, shape=None)
_check_axis(axis, rank)