endf.Tabulated1D.from_ace#

classmethod Tabulated1D.from_ace(ace, idx=0, convert_units=True)[source]#

Create a Tabulated1D object from an ACE table.

Parameters:
  • ace (openmc.data.ace.Table) – An ACE table

  • idx (int) – Offset to read from in XSS array (default of zero)

  • convert_units (bool) – If the abscissa represents energy, indicate whether to convert MeV to eV.

Returns:

openmc.data.Tabulated1D – Tabulated data object