darfix.core.mapping.gaussian#

darfix.core.mapping.gaussian(x, a, b, c, d)[source]#

Function to calculate the Gaussian with constants a, b, and c

Parameters:
  • x (float) – Value to evaluate

  • a (float) – height of the curve’s peak

  • b (float) – position of the center of the peak

  • c (float) – standard deviation

  • d (float) – lowest value of the curve (value of the limits)

Returns:

result of the function on x

Return type:

float