gaussian_2d_1width

gaussian_2d_1width(height, center_x, center_y, sigma)[source]

Returns a gaussian function with the given parameters

sigma is the same for x and y direction.

Parameters:
  • height (float) – height of the gaussian function
  • center_x (float) – center in x of the gaussian function
  • center_y (float) – center in y of the gaussian function
  • sigma (float) – sigma of the gaussian function
Returns:

gaussian function with the given parameters

Return type:

lambda function