gaussian_2d_1width_offset

gaussian_2d_1width_offset(height, center_x, center_y, sigma, offset)[source]

Returns a gaussian function + offset 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
  • offset – offset of the gaussian function

:type offset float

Returns:gaussian function with the given parameters
Return type:lambda function