onix.utils.read_flux_spectrum

onix.utils.read_flux_spectrum(path, steps_list)[source]

Reads the neutron flux spectra for multiple macrosteps from a flux spectrum output file and returns it in a list.

Parameters
  • path (str) – Path to the neutron flux spectrum output file

  • step_list (List) – List of macrostep for which spectra should be read