EAF – pyne.dbgen.eaf

Module handles parsing EAF formatted cross section files and adding the data to PyNE’s HDF5 storage. The data here is autonatically grabbed from the IAEA.

pyne.dbgen.eaf.grab_eaf_data(build_dir=’‘)[source]

Grabs the EAF activation data files if not already present.

Parameters:

build_dir : str

Major directory to place EAF data file(s) in. ‘EAF/’ will be appended.

pyne.dbgen.eaf.make_eaf(args)[source]

Controller function for adding cross section data from EAF format file.

pyne.dbgen.eaf.make_eaf_table(nuc_data, build_path=’‘)[source]

Function for adding EAF group and table to HDF5 storage.

Parameters:

nuc_data : str

Path to nuclide data file.

build_path : str

Directory where EAF data is located.

pyne.dbgen.eaf.parse_eaf_xs(build_file)[source]

Create numpy array by parsing EAF data using regular expressions

Parameters:

build_file : str

Path where EAF data is stored.

Returns:

eaf_array : numpy array

Numpy array with a row for each isotope+reaction combination found in the EAF data.