sandy.sections.mf5 module
“This module contains only two public functions:
read_mf5
write_mf5
Function read reads a MF5/MT section from a string and produces a content object with a dictionary-like structure. The content object can be accessed using most of the keywords specified in the ENDF6 manual for this specific MF section.
Function write_mf5 writes a content object for a MF5/MT section into a string. MAT, MF, MT and line numbers are also added (each line ends with a ` `).
- sandy.sections.mf5.read_mf5(tape, mat, mt)
Parse MAT/MF=5/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.