pint.scripts.event_optimize.gaussian_profile

pint.scripts.event_optimize.gaussian_profile(N, phase, fwhm)[source]

Return a gaussian pulse profile with ‘N’ bins and an integrated ‘flux’ of 1 unit.

Parameters:
  • N (int) – the number of points in the profile

  • phase (float) – the pulse phase (0-1)

  • fwhm (float) – the gaussian pulses full width at half-max

Note

The FWHM of a gaussian is approx 2.35482 sigma.