openmc.data.ResonanceRange

class openmc.data.ResonanceRange(target_spin, energy_min, energy_max, channel, scattering)[source]

Resolved resonance range

Parameters:
  • target_spin (float) – Intrinsic spin, \(I\), of the target nuclide
  • energy_min (float) – Minimum energy of the resolved resonance range in eV
  • energy_max (float) – Maximum energy of the resolved resonance range in eV
  • channel (dict) – Dictionary whose keys are l-values and values are channel radii as a function of energy
  • scattering (dict) – Dictionary whose keys are l-values and values are scattering radii as a function of energy
Variables:
  • channel_radius (dict) – Dictionary whose keys are l-values and values are channel radii as a function of energy
  • energy_max (float) – Maximum energy of the resolved resonance range in eV
  • energy_min (float) – Minimum energy of the resolved resonance range in eV
  • scattering_radius (dict) – Dictionary whose keys are l-values and values are scattering radii as a function of energ
  • target_spin (float) – Intrinsic spin, \(I\), of the target nuclide
classmethod from_endf(ev, file_obj, items)[source]

Create resonance range from an ENDF evaluation.

This factory method is only used when LRU=0, indicating that only a scattering radius appears in MF=2, MT=151. All subclasses of ResonanceRange override this method with their own.

Parameters:
  • ev (openmc.data.endf.Evaluation) – ENDF evaluation
  • file_obj (file-like object) – ENDF file positioned at the second record of a resonance range subsection in MF=2, MT=151
  • items (list) – Items from the CONT record at the start of the resonance range subsection
Returns:

Resonance range data

Return type:

openmc.data.ResonanceRange

reconstruct(energies)[source]

Evaluate cross section at specified energies.

Parameters:energies (float or Iterable of float) – Energies at which the cross section should be evaluated
Returns:Elastic, capture, and fission cross sections at the specified energies
Return type:3-tuple of float or numpy.ndarray