vice.elements.element¶
An object describing an element on the periodic table and its astrophysical nucleosynthetic sources and their associated yields.
Signature: vice.elements.element(symbol)
New in version 1.1.0.
Parameters¶
- symbol
str
[case-insensitive] The symbol of the element as it appears on the periodic table.
Attributes¶
- symbol
str
The symbol of the element as it appears on the periodic table.
- name
str
The full name of the element in English.
- yields
yields
The
yields
object containing the nucleosynthetic yield settings for this element.- atomic_number
int
The atomic number (protons only) of this element.
- primordial
float
The primordial abundance by mass of this element according to the standard model 3 4 5.
- solar_z
float
The abundance by mass of this element in the sun as determined by Asplund et al. (2009) 1.
- sources
list
of strings The dominant astrophysical sources of this element as reported by Johnson (2019) 2.
- stable_isotopes
list
of integers The mass numbers (protons and neutrons) of the stable isotopes of this element.
See also
vice.yields.agb.settings
vice.yields.ccsne.settings
vice.yields.sneia.settings
vice.atomic_number
vice.primordial
vice.solar_z
vice.sources
vice.stable_isotopes
Example Code¶
>>> import vice
>>> vice.elements.Fe
vice.element{
symbol ------------ > Fe
name -------------- > Iron
atomic number ----- > 26
primordial -------- > 0
solar abundance --- > 0.00129
sources ----------- > ['CCSNE', 'SNEIA']
stable isotopes --- > [54, 56, 57, 58]
yields.ccsne ------ > 0.000246
yields.sneia ------ > 0.00258
yields.agb -------- > cristallo11
}
>>> example = vice.elements.element("sr")
>>> example
vice.element{
symbol ------------ > Sr
name -------------- > Strontium
atomic number ----- > 38
primordial -------- > 0
solar abundance --- > 4.74e-08
sources ----------- > ['CCSNE', 'AGB']
stable isotopes --- > [84, 86, 87, 88]
yields.ccsne ------ > 1.34e-08
yields.sneia ------ > 0
yields.agb -------- > cristallo11
}
>>> example.symbol = 'fe'
>>> example
vice.element{
symbol ------------ > Fe
name -------------- > Iron
atomic number ----- > 26
primordial -------- > 0
solar abundance --- > 0.00129
sources ----------- > ['CCSNE', 'SNEIA']
stable isotopes --- > [54, 56, 57, 58]
yields.ccsne ------ > 0.000246
yields.sneia ------ > 0.00258
yields.agb -------- > cristallo11
}