sandy.sections.mf3 module

sandy.sections.mf3.read_mf3(tape, mat, mt)

Parse MAT/MF=3/MT section from sandy.Endf6 object and return structured content in nested dcitionaries.

Parameters:
tapesandy.Endf6

endf6 object containing requested section

matint

MAT number

mtint

MT number

Returns:
dict

Content of the ENDF-6 tape structured as nested dict.

sandy.sections.mf3.write_mf3(sec)

Given the content of a MF3 section as nested dictionaries, write it to string.

Returns:
str

Multiline string reproducing the content of a ENDF-6 section.

`.