vice.core.dataframe.yield_settings.factory_settings

Restores the dataframe to its factory defaults.

Signature: x.factory_settings()

Tip

To revert your nucleosynthetic yield settings back to the production defaults permanently, simply call x.save_defaults() immediately following this function.

Parameters

xyield_settings

An instance of this class

Example Code

>>> from vice.yields.ccsne import settings as example
>>> example["fe"]
0.001 # <--- previously saved preset
>>> example.factory_settings()
0.000246