pint.scripts.event_optimize.read_gaussfitfile

pint.scripts.event_optimize.read_gaussfitfile(gaussfitfile, proflen)[source]

Read a Gaussian-fit file as created by the output of pygaussfit.py.

Parameters:
  • gaussfitfile (str) – Name of the input file.

  • proflen (int) – The number of bins to include in the resulting template.

Returns:

A template of length proflen.

Return type:

np.array