vice.yields.ccsne.S16.N20.set_params

Update the parameters with which the yields are calculated from the Sukhbold et al. (2016) [1] N20 explosion engine data.

Signature: vice.yields.ccsne.S16.N20.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/N20” 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 N20 explosion engine.

Example Code

>>> import vice
>>> from vice.yields.ccsne.S16 import N20
>>> vice.yields.ccsne.settings['o']
0.007286488814947039
>>> N20.set_params(IMF = "salpeter")
>>> vice.yields.ccsne.settings['o']
0.004247585262396765
>>> N20.set_params(IMF = "salpeter", m_upper = 80)
>>> vice.yields.ccsne.settings['o']
0.003960345954142228

See also

vice.yields.ccsne.fractional