Package lib :: Module periodic_table :: Class Table
[hide private]
[frames] | no frames]

Class Table

source code

The periodic table object.

Instance Methods [hide private]
 
__init__(self)
Set up the object.
source code
 
add(self, Z=None, symbol=None, name=None)
Add an element to the table.
source code
str
lookup_z_to_symbol(self, Z=None)
Return the atomic symbol corresponding to the atomic number.
source code
Method Details [hide private]

add(self, Z=None, symbol=None, name=None)

source code 

Add an element to the table.

Parameters:
  • Z (int) - The atomic number.
  • symbol (str) - The atomic symbol.
  • name (str) - The chemical element name.

lookup_z_to_symbol(self, Z=None)

source code 

Return the atomic symbol corresponding to the atomic number.

Parameters:
  • Z (int) - The atomic number.
Returns: str
The atomic symbol.