gauss_smoothing

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

Function which smooths an array of counts by a Gaussian of full-width-half-maximum FWHM. Preserves number of counts. :type array_in: :param array_in: Array of inbound counts to be smoothed :type array_in: array, double :type E_array: :param E_array: Array with energy calibration of array_in, in

mid-bin calibration

Parameters:
  • fwhm (array, double) – The full-width-half-maximums. Need to be same size as array_in

  • truncate (double, optional) – The window width of the Gaussian that is used to smoothe, in units of sigma. Defaults to 3.

Returns:

Array of smoothed counts

Return type:

array_out