vice.core.dataframe.builtin_elemental_data¶
The VICE dataframe: derived class (inherits from noncustomizable)
Stores persistent data for each element.
Allowed Data Types¶
- Keys
str
[case-insensitive]elemental symbolsThe symbols of the elements as they appear on the periodic table.
- Values
Any (cannot be modified)
Indexing¶
str
[case-insensitive]elemental symbolsMust be indexed by the symbol of an element recognized by VICE as it appears on the periodic table.
Functions¶
keys
todict
Built-In Instances¶
- vice.atomic_number
The atomic number (protons only) of each element.
- vice.solar_z
The abundance by mass of each element in the sun. This is adopted from Asplund et al. (2009) 4.
- vice.sources
The dominant astrophysical enrichment channels of each element. This is adopted from Johnson (2019) 5.
- vice.stable_isotopes
The mass number (protons + neutrons) of the stable isotopes of each element.
New in version 1.1.0.
Example Code¶
>>> import vice
>>> vice.atomic_number['c']
6
>>> vice.primordial['c']
0
>>> vice.solar_z['c']
0.00236
>>> vice.sources['c']
["CCSNE", "AGB"]
>>> vice.stable_isotopes['c']
[12, 13]
- 1
Planck Collaboration et al. (2016), A&A, 594, A13
- 2
Pitrou et al. (2018), Phys. Rep., 754, 1
- 3
Pattie et al. (2018), Science, 360, 627
- 4
Asplund et al. (2009), ARA&A, 47, 481
- 5
Johnson (2019), Science, 363, 474
Signature: vice.core.dataframe.builtin_elemental_data(frame, name)
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.