'Args:
anchor: coordinate of the center'

def get_gaussian_weight(self, anchor):

    ret = np.zeros(self.shape, dtype='float32')
    (y, x) = np.mgrid[:self.shape[0], :self.shape[1]]
    y = ((y.astype('float32') / ret.shape[0]) - anchor[0])
    x = ((x.astype('float32') / ret.shape[1]) - anchor[1])
    g = np.exp(((- ((x ** 2) + (y ** 2))) / self.sigma))
    return g
