vice.yields.ccsne.S16.W18.set_params¶
Update the parameters with which the yields are calculated from the Sukhbold et al. (2016) [1] W18 explosion engine data.
Signature: vice.yields.ccsne.S16.W18.set_params(**kwargs)
Parameters¶
- kwargsvarying types
Keyword arguments to pass to vice.yields.ccsne.fractional.
Raises¶
- TypeError
Received a keyword argument “study”. This will always be “S16/W18” when called from this module.
Other exceptions are raised by vice.yields.ccsne.fractional.
Notes¶
We provide core collapse supernova yields for non-rotating progenitors at solar metallicity only as reported by Sukhbold et al. (2016) under the W18 explosion engine.
Example Code¶
>>> import vice
>>> from vice.yields.ccsne.S16 import W18
>>> vice.yields.ccsne.settings['o']
0.00574509645756458
>>> W18.set_params(IMF = "salpeter")
>>> vice.yields.ccsne.settings['o']
0.0033812925649179715
>>> W18.set_params(IMF = "salpeter", m_upper = 80)
>>> vice.yields.ccsne.settings['o']
0.0032910365772603626
See also
vice.yields.ccsne.fractional