endf.Material#

class endf.Material(filename_or_obj, encoding=None)[source]#

ENDF material with multiple files/sections

Parameters:
  • filename_or_obj (Union[str, bytes, PathLike, TextIO]) – Path to ENDF file to read or an open file positioned at the start of an ENDF material

  • encoding (Optional[str]) – Encoding of the ENDF-6 formatted file

MAT#

ENDF material number

sections#

List of (MF, MT) sections

section_text#

Dictionary mapping (MF, MT) to corresponding section of the ENDF file.

section_data#

Dictionary mapping (MF, MT) to a dictionary representing the corresponding section of the ENDF file.

Methods

interpret()

Get high-level interface class for the ENDF material