sandy.sections.mf35 module
This module contains a single public function:
read_mf35
Function read_mf35 reads a MF35/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.
- sandy.sections.mf35.read_mf35(tape, mat, mt)
Parse MAT/MF=35/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.
Examples
>>> import numpy as np >>> tape = sandy.get_endf6_file("jeff_33", 'xs', 922380) >>> out = read_mf35(tape, mat=9237, mt=18)["SUB"][1]["FKK"][0:15] >>> np.round(out, decimals=35) array([0.00000e+00, 1.00000e-35, 1.00000e-35, 3.00000e-35, 2.00000e-34, 2.80000e-34, 9.60000e-34, 6.17000e-33, 8.96000e-33, 3.04700e-32, 1.95070e-31, 2.83330e-31, 9.63620e-31, 6.16871e-30, 8.95957e-30])