pyxtal.database.element module
Module for handling atomic elements.
- class pyxtal.database.element.Element(input_value)[source]
Bases:
objectClass for storing and accessing atomic elements.
- Parameters:
input_value – The atomic number, symbol, or name of the element
- elements_list
A list of atomic numbers, symbols, names, and other information, up to atomic number 105
- get_all(pos)[source]
Return all [pos] elements in the full element list
- Parameters:
pos – the index of the elements to retrieve
- Returns:
a list containing only the [pos] elements of self.elements_list
- sf
A list of scatter factors for the elements