sdapy.models.arnett_tail.taum_to_MejEk¶
- sdapy.models.arnett_tail.taum_to_MejEk(tau_m, taum_err=None, k_opt=None, sntype='Ic')¶
from characteristic time, taum (unit: day) to the product of kinetic energy (unit: foe) and ejecta mass (unit: solar mass), i.e. M$_{ej}^{3/4}$ E$_{kin}^{-1/4}$
- Parameters
- tau_mfloat
Arnett model parameter, characteristic time, unit in days, decided by ejecta mass and kinetic enegies.
- taum_errfloat
Error of taum, if not setted, will return only value, otherwise will return value as well as error.
- k_optfloat
diffusion opacity