scipy.ndimage.measurements.variance

scipy.ndimage.measurements.variance(input, labels=None, index=None)

Calculate the variance of the values of an array at labels.

Labels must be None or an array of the same dimensions as the input.

Index must be None, a single label or sequence of labels. If none, all values where label is greater than zero are used.

Previous topic

scipy.ndimage.measurements.sum

Next topic

scipy.ndimage.measurements.watershed_ift

This Page