gaussian

ompy.gaussian(signatures, args, kwargs, defaults)

Returns a normalized Gaussian supported on Emids.

NB! All arguments (Emids, mu and sigma) must have the same units. In OMpy the default unit is keV.

Parameters:
  • Emids (array, number) – Array of energies to evaluate (center bin calibration)

  • mu (number) – Centroid

  • sigma (double) – Standard deviation

Returns:

Array of gaussian distribution values matching Emids.

Return type:

gaussian_array (array, double)