vice.core.dataframe.elemental_settings

The VICE dataframe: derived class (inherits from base)

Stores data on an element-by-element basis.

Allowed Data Types

  • Keys
    • str [case-insensitive]elemental symbol

      The symbol of a chemical element as it appears on the periodic table.

  • Values
    • All

Indexing

  • str [case-insensitive]elemental symbol

    The symbol of a chemical element as it appears on the periodic table.

Functions

  • keys

  • todict

Example Code

>>> import vice
>>> vice.yields.ccsne.settings['o'] = 0.01
>>> vice.yields.ccsne.settings['fe'] = 0.0012
>>> vice.yields.sneia.settings['o'] = 0.0
>>> vice.yields.sneia.settings['fe'] = 0.0017

Signature: vice.core.dataframe.elemental_settings(frame)

Warning

Users should avoid creating new instances of derived classes of the VICE dataframe and instead use the base class. Instances of this class are created automatically.

Parameters

framedict

A dictionary from which to construct the dataframe.

namestr

String denoting a description of the values stored in this dataframe.