vice.yields.ccsne.NKT13.set_params ================================== Update the parameters with which the yields are calculated from the Nomoto, Kobayashi & Tominaga (2013) [1]_ data. **Signature**: vice.yields.ccsne.NKT13.set_params(\*\*kwargs) Parameters ---------- kwargs : varying types Keyword arguments to pass to vice.yields.ccsne.fractional. Raises ------ * TypeError - Received a keyword argument "study". This will always be "NKT13" 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 Nomoto, Kobayashi & Tominaga (2013) at metallicities relative to solar of :math:`\log_{10}(Z / Z_\odot)` = - -inf - -1.15 - -0.54 - -0.24 - 0.15 - 0.55 assuming :math:`Z_\odot` = 0.014 according to Asplund et al. (2009) [2]_. Example Code ------------ >>> import vice >>> from vice.yields.ccsne import NKT13 >>> vice.yields.ccsne.settings['o'] 0.00849047694119129 >>> NKT13.set_params(MoverH = 0.55) >>> vice.yields.ccsne.settings['o'] 0.020692018117088606 >>> NKT13.set_params(IMF = "salpeter") >>> vice.yields.ccsne.settings['o'] 0.013645466478054947 >>> NKT13.set_params(IMF = "salpeter", MoverH = -1.15) >>> vice.yields.ccsne.settings['o'] 0.015010918224009764 >>> from vice.yields.ccsne.engines.S16 import W18 >>> from vice.yields.ccsne.engines import E16 >>> # Sukhbold et al. (2016) W18 black hole landscape with NKT13 yields ... NKT13.set_params(explodability = W18) >>> vice.yields.ccsne.settings['o'] 0.003980895857851888 >>> # Ertl et al. (2016) black hole landscape with NKT13 yields ... NKT13.set_params(explodability = E16, MoverH = -1.15) >>> vice.yields.ccsne.settings['o'] 0.0023433951760400543 .. seealso:: vice.yields.ccsne.fractional .. [1] Nomoto, Kobayashi & Tominaga (2013), ARA&A, 51, 457 .. [2] Asplund et al. (2009), ARA&A, 47, 481