load_levels_smooth

ompy.load_levels_smooth(path, energy, resolution=0.1)[source]

Load discrete levels with smoothing

Assumes linear equdistant binning

Parameters:
  • path (Union[str, Path]) – The file to load

  • energy (ndarray) – The binning to use in MeV

  • resolution (float) – The resolution (FWHM) of the smoothing to use in MeV

Return type:

Vector

Returns:

A vector describing the smoothed levels