vice.yields.ccsne.WW95.set_params

Update the parameters with which the yields are calculated from the Woosley & Weaver (1995) [1] data.

Signature: vice.yields.ccsne.WW95.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 “WW95” 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 as reported by Woosley & Weaver (1995) at metallicities relative to solar of \(\log_{10}(Z / Z_\odot)\) =

  • -inf

  • -4

  • -2

  • -1

  • 0

Example Code

>>> import vice
>>> from vice.yields.ccsne import WW95
>>> vice.yields.ccsne.settings['o']
0.011213287529967898
>>> WW95.set_params(IMF = "salpeter")
>>> vice.yields.ccsne.settings['o']
0.01031925181253855
>>> WW95.set_params(IMF = "salpeter", m_upper = 80)
>>> vice.yields.ccsne.settings['o']
0.009732682861255278
>>> from vice.yields.ccsne.engines.S16 import W18
>>> from vice.yields.ccsne.engines import E16
>>> # Sukhbold et al. (2016) W18 black hole landscape with WW95 yields
... WW95.set_params(explodability = W18)
>>> vice.yields.ccsne.settings['o']
0.004076427850896676
>>> # Ertl et al. (2016) black hole landscape with WW95 yields
... WW95.set_params(explodability = E16)
>>> vice.yields.ccsne.settings['o']
0.0026048168655224023

See also

vice.yields.ccsne.fractional