sandy.sections.mf34 module

This module contains a single public function:

  • read_mf34

Function read_mf34 reads a MF34/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.mf34.read_mf34(tape, mat, mt)

Parse MAT/MF=34/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.

Notes

Note

The covariance pattern as a function of incident energy values (0,1,2,5 and 6 are allowed) are defined as for File 33

Examples

>>> tape = sandy.get_endf6_file("jeff_33", 'xs', 922380)
>>> read_mf34(tape, mat=9237, mt=2)["REAC"][(0,2)]["P"][(1, 1)]["NI"][0]["FKK"][0:15]
[1.51558,
 1.51558,
 1.51558,
 0.316347,
 0.376019,
 0.362778,
 0.161342,
 0.0891301,
 0.0634872,
 0.00469711,
 -0.0321085,
 -0.0320439,
 -0.0216885,
 -0.0128297,
 -0.00264976]