You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wolfiex edited this page Aug 10, 2018
·
1 revision
Lifetimes
Gets the mean lifetime for all species within a run.
run1 = new('run1.h5')
l = alllifetimes(run1)
means = [[f,l[f]['mean']] for f in l if type(l[f]).__name__!='NoneType']
df = pd.DataFrame(np.array(means)).set_index(0).astype(float)
df[1]= [np.log10(d) for d in df[1]]
df.T.to_csv()
df.plot()