def function(self, x, y, amp, sigma_x, sigma_y, center_x=0, center_y=0):
        """

        :param x:
        :param y:
        :param sigma0:
        :param a:
        :param s:
        :param center_x:
        :param center_y:
        :return:
        """
        c = amp / (2 * np.pi * sigma_x * sigma_y)
        R2 = (x - center_x) ** 2/sigma_x**2 + (y - center_y) ** 2/sigma_y**2
        return c * np.exp(-R2 / 2.)
def function ( self , x , y , amp , sigma_x , sigma_y , center_x = 0 , center_y = 0 ) : c = amp / ( 2 * np . pi * sigma_x * sigma_y ) R2 = ( x - center_x ) ** 2 / sigma_x ** 2 + ( y - center_y ) ** 2 / sigma_y ** 2 return c * np . exp ( - R2 / 2. )
:param x:
        :param y:
        :param sigma0:
        :param a:
        :param s:
        :param center_x:
        :param center_y:
        :return: