onix.utils.convert_spectrum_to_janis_weighting_format

onix.utils.convert_spectrum_to_janis_weighting_format(path_to_simulation, bucell, BU)[source]

Converts a neutron spectrum output file computed in an ONIX simulations to a format suitable to be used to fold cross sections in JANIS4.1.

Parameters
  • path_to_simulation (str) – Path to an ONIX simulation’s directory with a neutron spectrum file

  • bucell (str) – Name of a BUCell

  • BU (float) – Burnup level at which the spectrum is to be taken