vice.yields.ccsne.settings.todict ================================= Returns the CCSN yield settings as a dictionary. **Signature**: vice.yields.ccsne.settings.todict() .. note:: Modifications to the dictionary returned by this function will *not* affect the global yield settings. .. note:: Python dictionaries are case-sensitive, and are thus less flexible than this class. Example Code ------------ >>> import vice >>> example = vice.yields.ccsne.settings.todict() >>> example["c"] 0.00236 >>> example["C"] Traceback (most recent call last): File "", line 1, in KeyError: 'C' >>> example["c"] = "not a yield setting" >>> example["c"] "not a yield setting" >>> vice.yields.ccsne.settings["c"] 0.00236