I would like to calculate a Gaussian weighted standard deviation of a 2D array with Python, does anyone know how to do this? So basically apply a 2D Gaussian filter but instead of returning the convolution of each array element with the filter, I would like it to return the standard deviation of the Gaussian weighted values around some array element.
cheers, Tomas