create_rates_grid.py File Reference

Go to the source code of this file.

Namespaces

 create_rates_grid
 

Variables

 create_rates_grid.talys_t
 
string create_rates_grid.rate_file = ""
 
 create_rates_grid.T9
 
 create_rates_grid.adopt
 
 create_rates_grid.exp
 
 create_rates_grid.unpack
 
 create_rates_grid.True
 
 create_rates_grid.skiprows
 
int create_rates_grid.rate = adopt*10**exp
 
 create_rates_grid.f = interp1d(np.log10(T9),np.log10(rate),fill_value=-99,bounds_error=False,kind="cubic")
 
int create_rates_grid.rates = 10**f(np.log10(talys_t))
 
list create_rates_grid.stringlist = ["{:.3e}".format(ytmp) for ytmp in rates ]
 
 create_rates_grid.a = np.array([4.04,2.302e-4,6900,1.881e7])
 
 create_rates_grid.b = np.array([0,-0.6,3.19,0.358])
 
 create_rates_grid.c = np.array([7.74,6.14,11.3,26.7])
 
 create_rates_grid.func = lambda T: np.sum(a*T**b*np.exp(-c/T))
 
 create_rates_grid.y = np.array([func(ttmp) for ttmp in talys_t])