to_ndimage_mode

sofia_redux.toolkit.image.utilities.to_ndimage_mode(mode)[source]

Convert from numpy.pad mode name to the corresponding ndimage mode.

Parameters:
modestr
Returns:
ndimage_modestr