vice.yields.ccsne.S16.W18F.set_params

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

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

Example Code

>>> import vice
>>> from vice.yields.ccsne.S16 import W18F
>>> vice.yields.ccsne.settings['o']
0.018063484040223107
>>> W18F.set_params(IMF = "salpeter")
>>> vice.yields.ccsne.settings['o']
0.010770572437600351
>>> W18F.set_params(IMF = "salpeter", m_upper = 80)
>>> vice.yields.ccsne.settings['o']
0.010523432438733342
>>> from vice.yields.ccsne.engines import E16
>>> from vice.yields.ccsne.engines.S16 import W20
>>> # Ertl et al. (2016) black hole landscape with W18F yields
... W18F.set_params(explodability = E16)
>>> vice.yields.ccsne.settings['o']
0.0044613656957736055
>>> # Sukhbold et al. (2016) W20 black hole landscape with W18F yields
... W18F.set_params(explodability = W20)
>>> vice.yields.ccsne.settings['o']
0.0034641626751717044

See also

vice.yields.ccsne.fractional