vice.elements.yields.ccsne ========================== Type : real number or The current yield setting for core collapse supernovae (CCSNe). If this is a real number, it will be interpreted as a constant, metallicity-independent yield. If it is a function, it must accept the metallicity by mass :math:`Z` as the only parameter. These values can be calculated by calling vice.yields.ccsne.fractional. .. note:: Modifying yield settings here is equivalent to modifying vice.yields.ccsne.settings. .. seealso:: - vice.yields.ccsne.settings - vice.yields.ccsne.fractional - vice.yields.ccsne.table Example Code ------------ >>> import vice >>> vice.elements.Fe.yields.ccsne = 0.0012 >>> vice.elements.O.yields.ccsne = 0.015 >>> def z_dep_o_yield(z): return 0.015 * (z / 0.014)**0.5 >>> vice.elements.O.yields.ccsne = z_dep_o_yield