pynucastro.rates.starlib_rate module#
Classes and methods for describing a reaction rate that is tabulated in terms of and temperature.along with corresponding uncertainties as per the StarLib Library
- class pynucastro.rates.starlib_rate.StarLibRate(log_t9_data, log_rate_data, sigma_data, labelprops, seed=None, label='starlib', **kwargs)[source]#
Bases:
TemperatureTabularRateA rate whose temperature dependence and factor uncertainty are tabulated. Upon creation of an instance, rates at all tabulated log(T9) values are sampled.
- Parameters:
log_t9_data (numpy.ndarray) – The temperature (in log(T / 1.e9 K)) where we tabulate the rate
log_rate_data (numpy.ndarray) – The tabulated log(rate) data, N_A <σv>
sigma_data (numpy.ndarray) – The tabulated log(uncertainty) data
seed (int) – Seed to pass to rng for rate sampling