5 import matplotlib.pyplot
as plt
12 data = h5py.File(
"WinNet_data.h5",
"r")
14 print(
"Enable h5fc compiler in the Makefile! No hdf5 file was found!")
18 time = data[
"snapshots/time"][:]
21 A = data[
"snapshots/A"][:]
22 Z = data[
"snapshots/Z"][:]
25 Y = data[
"snapshots/Y"][:,:]
28 ni56 = (A==56) & (Z==28)
29 th232 = (A==232) & (Z==90)
30 u236 = (A==236) & (Z==92)
31 eu151 = (A==151) & (Z==63)
32 eu153 = (A==153) & (Z==63)
39 plt.plot(time,151.0*Y[:,eu151],label=
"$^{151}$Eu")
40 plt.plot(time,153.0*Y[:,eu153],label=
"$^{153}$Eu")
41 plt.plot(time,232.0*Y[:,th232],label=
"$^{232}$Th")
42 plt.plot(time,236.0*Y[:,u236] ,label=
"$^{236}$U")
48 plt.ylabel(
"Mass fraction")
49 plt.xlabel(
"Time [s]")