endf.get_materials#

endf.get_materials(filename, encoding=None)[source]#

Return a list of all materials within an ENDF file.

Parameters:
  • filename (Union[str, bytes, PathLike]) – Path to ENDF-6 formatted file

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

Return type:

List[Material]

Returns:

A list of ENDF materials