synthesizer.abundances.elements

Classes

class synthesizer.abundances.elements.Elements(non_metals=<factory>, metals=<factory>, alpha_elements=<factory>, name=<factory>, atomic_mass=<factory>)[source]

This is a data class containing a various useful information about atomic elements. These include lists of elements classified as non-metals, metals , alpha elements, as well as all elements. Also contains a dictionary mapping the element identification (e.g. “Fe”) to the full name (e.g. “iron”) and a dictionary containing the atomic mass. These are used in the creation of custom abundance patterns.

non_metals

A list of elements classified as non-metals.

Type:

list, string

metals

A list of elements classified as metals.

Type:

list, string

all_elements

A list of all elements, functionally the concatenation of metals and non-metals.

Type:

list, string

alpha_elements

A list of the elements classified as alpha-elements.

Type:

list, string

name

A dictionary holding the full self.name of each element.

Type:

dict, string

atomic_mass

Atomic mass of each element (in amus).

Type:

dict, float