vice.yields.agb.settings.todict

Returns the AGB star yield settings dataframe as a dictionary.

Signature: vice.yields.agb.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.agb.settings.todict()
>>> example["c"]
        "cristallo11"
>>> example["C"]
        Traceback (most recent call last):
          File "<stdin>", line 1, in <module>
        KeyError: 'C'
>>> example["c"] = "not a yield setting"
>>> example["c"]
        "not a yield setting"
>>> vice.yields.agb.settings["c"]
        "cristallo11"