vice.yields.ccsne.LC18.set_params¶
Update the parameters with which the yields are calculated from the Limongi & Chieffi (2018) [1] data.
Signature: vice.yields.ccsne.LC18.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 “LC18” when called from this module.
Other exceptions are raised by vice.yields.ccsne.fractional.
Notes¶
We provide core collapse supernova yields for progenitors at rotational velocities of 0, 150, and 300 km/s as reported by Limongi & Chieffi (2018) at metallicities relative to solar of \(\log_{10}(Z / Z_\odot)\) =
-3
-2
-1
0
Example Code¶
>>> import vice
>>> from vice.yields.ccsne import LC18
>>> vice.yields.ccsne.settings['o']
0.0036512768277795864
>>> LC18.set_params(IMF = "salpeter")
>>> vice.yields.ccsne.settings['o']
0.0022556257770960713
>>> LC18.set_params(rotation = 150)
>>> vice.yields.ccsne.settings['o']
0.010851696623329273
>>> LC18.set_params(rotation = 150, IMF = "salpeter")
>>> vice.yields.ccsne.settings['o']
0.006744726174198793
>>> LC18.set_params(rotation = 150, IMF = "salpeter", MoverH = -2)
>>> vice.yields.ccsne.settings['o']
0.0081235534350932
See also
vice.yields.ccsne.fractional