vice.yields.ccsne.CL04.set_params¶
Update the parameter with which the yields are calculated from the Chieffi & limongi (2004) [1] data.
Signature: vice.yields.ccsne.CL04.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 “CL04” 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 Chieffi & Limongi (2004) at metallicities relative to solar of \(\log_{10}(Z / Z_\odot)\) =
-inf
-4
-2
-1
-0.37
0.15
assuming \(Z_\odot\) = 0.014 according to Asplund et al. (2009) [2].
Example Code¶
>>> import vice
>>> from vice.yields.ccsne import CL04
>>> # negative yields simply imply a net loss
>>> vice.yields.ccsne.settings['o']
-0.07258767478609592
>>> CL04.set_params(MoverH = -4)
>>> vice.yields.ccsne.settings['o']
0.01835902419240956
>>> CL04.set_params(IMF = "salpeter")
>>> vice.yields.ccsne.settings['o']
-0.056090913652505486
>>> CL04.set_params(IMF = "salpeter", m_upper = 60)
>>> vice.yields.ccsne.settings['o']
-0.0512909951164916
>>> from vice.yields.ccsne.engines.S16 import W18
>>> from vice.yields.ccsne.engines import E16
>>> # Sukhbold et al. (2016) W18 black hole landscape with CL04 yields
... CL04.set_params(explodability = W18)
>>> vice.yields.ccsne.settings['o']
-0.049690600129938464
>>> # Ertl et al. (2016) black hole landscape with CL04 yields
... CL04.set_params(explodability = E16, MoverH = -4)
>>> vice.yields.ccsne.settings['o']
0.001936110535019444
See also
vice.yields.ccsne.fractional
vice.yields.ccsne.table