vice.yields.agb.settings.save_defaults¶
Saves the current AGB star yield settings as the default values.
Signature: vice.yields.agb.settings.save_defaults()
Note
Saving functional yields requires the package dill, an
extension to pickle
in the python standard library. It is
recommended that VICE users install dill >= 0.2.0.
Example Code¶
>>> import vice
>>> vice.yields.agb.settings["c"]
"cristallo11"
>>> vice.yields.agb.settings["c"] = "karakas10"
>>> vice.yields.agb.settings.save_defaults()
After re-launching the python interpreter:
>>> import vice
>>> vice.yields.agb.settings["c"]
"karakas10"