This question here addresses how to generate a Gaussian kernel using numpy. However I do not understand what the inputs used kernlen and nsig are and how they relate to the mean/standard deviation usually used to describe a Gaussian distribtion.
How would I generate a 2d Gaussian kernel described by, say mean = (8, 10) and sigma = 3? The ideal output would be a 2-dimensional array representing the Gaussian distribution.
