bundles / scipy latest / scipy / ndimage / _ni_support / _normalize_sequence
function
scipy.ndimage._ni_support:_normalize_sequence
Signature
def _normalize_sequence ( input , rank ) Summary
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.
Aliases
-
scipy.ndimage._ni_support._normalize_sequence