bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / ndimage / _measurements / sum
function
scipy.ndimage._measurements:sum
source: build-install/usr/lib/python3.14/site-packages/scipy/ndimage/_measurements.py:701
Signature
def sum(input, labels = None, index = None)Summary
Calculate the sum of the values of the array.
Notes
This is an alias for ndimage.sum_labels kept for backwards compatibility reasons, for new code please prefer sum_labels. See the sum_labels docstring for more details.
Aliases
scipy.ndimage.sum