SBElement#

This class is used to describe the periodic table in SAMSON.

Typically, this class is used when constructing atoms, or when accessing properties of periodic table elements:

# get an element based on the element type
C = SBElementTable.getElement(SBElement.Carbon)

# print Carbon's covalent radius
print(C.covalentRadius)

Note that convenience attributes and functions exist in samson.SBAtom to access the properties of their element:

print(atom.covalentRadius)

See also

SAMSON SDK: SBMElement

class samson.SBElement#

Bases: pybind11_object

This class describes a periodic table element.

class ElementType(self: samson.SBElement.ElementType, value: int)#

Bases: pybind11_object

Members:

Hydrogen

H

Helium

He

Lithium

Li

Beryllium

Be

Boron

B

Carbon

C

Nitrogen

N

Oxygen

O

Fluorine

F

Neon

Ne

Sodium

Na

Magnesium

Mg

Aluminium

Al

Silicon

Si

Phosphorus

P

Sulfur

S

Chlorine

Cl

Argon

Ar

Potassium

K

Calcium

Ca

Scandium

Sc

Titanium

Ti

Vanadium

V

Chromium

Cr

Manganese

Mn

Iron

Fe

Cobalt

Co

Nickel

Ni

Copper

Cu

Zinc

Zn

Gallium

Ga

Germanium

Ge

Arsenic

As

Selenium

Se

Bromine

Br

Krypton

Kr

Rubidium

Rb

Strontium

Sr

Yttrium

Y

Zirconium

Zr

Niobium

Nb

Molybdenum

Mo

Technetium

Tc

Ruthenium

Ru

Rhodium

Rh

Palladium

Pd

Silver

Ag

Cadmium

Cd

Indium

In

Tin

Sn

Antimony

Sb

Tellurium

Te

Iodine

I

Xenon

Xe

Caesium

Cs

Barium

Ba

Lanthanum

La

Cerium

Ce

Praseodymium

Pr

Neodymium

Nd

Promethium

Pm

Samarium

Sm

Europium

Eu

Gadolinium

Gd

Terbium

Tb

Dysprosium

Dy

Holmium

Ho

Erbium

Er

Thulium

Tm

Ytterbium

Yb

Lutetium

Lu

Hafnium

Hf

Tantalum

Ta

Tungsten

W

Rhenium

Re

Osmium

Os

Iridium

Ir

Platinum

Pt

Gold

Au

Mercury

Hg

Thallium

Tl

Lead

Pb

Bismuth

Bi

Polonium

Po

Astatine

At

Radon

Rn

Francium

Fr

Radium

Ra

Actinium

Ac

Thorium

Th

Protactinium

Pa

Uranium

U

Neptunium

Np

Plutonium

Pu

Americium

Am

Curium

Cm

Berkelium

Bk

Californium

Cf

Einsteinium

Es

Fermium

Fm

Mendelevium

Md

Nobelium

No

Lawrencium

Lr

Rutherfordium

Rf

Dubnium

Db

Seaborgium

Sg

Bohrium

Bh

Hassium

Hs

Meitnerium

Mt

Darmstadtium

Ds

Roentgenium

Rg

Copernicium

Cn

Nihonium

Nh

Ununtrium

Uut

Flerovium

Fl

Ununquadium

Uuq

Moscovium

Mc

Ununpentium

Uup

Livermorium

Lv

Ununhexium

Uuh

Tennessine

Ts

Ununseptium

Uus

Oganesson

Og

Ununoctium

Uuo

CoarseGrained

CG

Unknown

Un

Ac = <ElementType.Actinium: 89>#
Actinium = <ElementType.Actinium: 89>#
Ag = <ElementType.Silver: 47>#
Al = <ElementType.Aluminium: 13>#
Aluminium = <ElementType.Aluminium: 13>#
Am = <ElementType.Americium: 95>#
Americium = <ElementType.Americium: 95>#
Antimony = <ElementType.Antimony: 51>#
Ar = <ElementType.Argon: 18>#
Argon = <ElementType.Argon: 18>#
Arsenic = <ElementType.Arsenic: 33>#
As = <ElementType.Arsenic: 33>#
Astatine = <ElementType.Astatine: 85>#
At = <ElementType.Astatine: 85>#
Au = <ElementType.Gold: 79>#
B = <ElementType.Boron: 5>#
Ba = <ElementType.Barium: 56>#
Barium = <ElementType.Barium: 56>#
Be = <ElementType.Beryllium: 4>#
Berkelium = <ElementType.Berkelium: 97>#
Beryllium = <ElementType.Beryllium: 4>#
Bh = <ElementType.Bohrium: 107>#
Bi = <ElementType.Bismuth: 83>#
Bismuth = <ElementType.Bismuth: 83>#
Bk = <ElementType.Berkelium: 97>#
Bohrium = <ElementType.Bohrium: 107>#
Boron = <ElementType.Boron: 5>#
Br = <ElementType.Bromine: 35>#
Bromine = <ElementType.Bromine: 35>#
C = <ElementType.Carbon: 6>#
CG = <ElementType.CoarseGrained: 200>#
Ca = <ElementType.Calcium: 20>#
Cadmium = <ElementType.Cadmium: 48>#
Caesium = <ElementType.Caesium: 55>#
Calcium = <ElementType.Calcium: 20>#
Californium = <ElementType.Californium: 98>#
Carbon = <ElementType.Carbon: 6>#
Cd = <ElementType.Cadmium: 48>#
Ce = <ElementType.Cerium: 58>#
Cerium = <ElementType.Cerium: 58>#
Cf = <ElementType.Californium: 98>#
Chlorine = <ElementType.Chlorine: 17>#
Chromium = <ElementType.Chromium: 24>#
Cl = <ElementType.Chlorine: 17>#
Cm = <ElementType.Curium: 96>#
Cn = <ElementType.Copernicium: 112>#
Co = <ElementType.Cobalt: 27>#
CoarseGrained = <ElementType.CoarseGrained: 200>#
Cobalt = <ElementType.Cobalt: 27>#
Copernicium = <ElementType.Copernicium: 112>#
Copper = <ElementType.Copper: 29>#
Cr = <ElementType.Chromium: 24>#
Cs = <ElementType.Caesium: 55>#
Cu = <ElementType.Copper: 29>#
Curium = <ElementType.Curium: 96>#
Darmstadtium = <ElementType.Darmstadtium: 110>#
Db = <ElementType.Dubnium: 105>#
Ds = <ElementType.Darmstadtium: 110>#
Dubnium = <ElementType.Dubnium: 105>#
Dy = <ElementType.Dysprosium: 66>#
Dysprosium = <ElementType.Dysprosium: 66>#
Einsteinium = <ElementType.Einsteinium: 99>#
Er = <ElementType.Erbium: 68>#
Erbium = <ElementType.Erbium: 68>#
Es = <ElementType.Einsteinium: 99>#
Eu = <ElementType.Europium: 63>#
Europium = <ElementType.Europium: 63>#
F = <ElementType.Fluorine: 9>#
Fe = <ElementType.Iron: 26>#
Fermium = <ElementType.Fermium: 100>#
Fl = <ElementType.Flerovium: 114>#
Flerovium = <ElementType.Flerovium: 114>#
Fluorine = <ElementType.Fluorine: 9>#
Fm = <ElementType.Fermium: 100>#
Fr = <ElementType.Francium: 87>#
Francium = <ElementType.Francium: 87>#
Ga = <ElementType.Gallium: 31>#
Gadolinium = <ElementType.Gadolinium: 64>#
Gallium = <ElementType.Gallium: 31>#
Gd = <ElementType.Gadolinium: 64>#
Ge = <ElementType.Germanium: 32>#
Germanium = <ElementType.Germanium: 32>#
Gold = <ElementType.Gold: 79>#
H = <ElementType.Hydrogen: 1>#
Hafnium = <ElementType.Hafnium: 72>#
Hassium = <ElementType.Hassium: 108>#
He = <ElementType.Helium: 2>#
Helium = <ElementType.Helium: 2>#
Hf = <ElementType.Hafnium: 72>#
Hg = <ElementType.Mercury: 80>#
Ho = <ElementType.Holmium: 67>#
Holmium = <ElementType.Holmium: 67>#
Hs = <ElementType.Hassium: 108>#
Hydrogen = <ElementType.Hydrogen: 1>#
I = <ElementType.Iodine: 53>#
In = <ElementType.Indium: 49>#
Indium = <ElementType.Indium: 49>#
Iodine = <ElementType.Iodine: 53>#
Ir = <ElementType.Iridium: 77>#
Iridium = <ElementType.Iridium: 77>#
Iron = <ElementType.Iron: 26>#
K = <ElementType.Potassium: 19>#
Kr = <ElementType.Krypton: 36>#
Krypton = <ElementType.Krypton: 36>#
La = <ElementType.Lanthanum: 57>#
Lanthanum = <ElementType.Lanthanum: 57>#
Lawrencium = <ElementType.Lawrencium: 103>#
Lead = <ElementType.Lead: 82>#
Li = <ElementType.Lithium: 3>#
Lithium = <ElementType.Lithium: 3>#
Livermorium = <ElementType.Livermorium: 116>#
Lr = <ElementType.Lawrencium: 103>#
Lu = <ElementType.Lutetium: 71>#
Lutetium = <ElementType.Lutetium: 71>#
Lv = <ElementType.Livermorium: 116>#
Magnesium = <ElementType.Magnesium: 12>#
Manganese = <ElementType.Manganese: 25>#
Mc = <ElementType.Moscovium: 115>#
Md = <ElementType.Mendelevium: 101>#
Meitnerium = <ElementType.Meitnerium: 109>#
Mendelevium = <ElementType.Mendelevium: 101>#
Mercury = <ElementType.Mercury: 80>#
Mg = <ElementType.Magnesium: 12>#
Mn = <ElementType.Manganese: 25>#
Mo = <ElementType.Molybdenum: 42>#
Molybdenum = <ElementType.Molybdenum: 42>#
Moscovium = <ElementType.Moscovium: 115>#
Mt = <ElementType.Meitnerium: 109>#
N = <ElementType.Nitrogen: 7>#
Na = <ElementType.Sodium: 11>#
Nb = <ElementType.Niobium: 41>#
Nd = <ElementType.Neodymium: 60>#
Ne = <ElementType.Neon: 10>#
Neodymium = <ElementType.Neodymium: 60>#
Neon = <ElementType.Neon: 10>#
Neptunium = <ElementType.Neptunium: 93>#
Nh = <ElementType.Nihonium: 113>#
Ni = <ElementType.Nickel: 28>#
Nickel = <ElementType.Nickel: 28>#
Nihonium = <ElementType.Nihonium: 113>#
Niobium = <ElementType.Niobium: 41>#
Nitrogen = <ElementType.Nitrogen: 7>#
No = <ElementType.Nobelium: 102>#
Nobelium = <ElementType.Nobelium: 102>#
Np = <ElementType.Neptunium: 93>#
O = <ElementType.Oxygen: 8>#
Og = <ElementType.Oganesson: 118>#
Oganesson = <ElementType.Oganesson: 118>#
Os = <ElementType.Osmium: 76>#
Osmium = <ElementType.Osmium: 76>#
Oxygen = <ElementType.Oxygen: 8>#
P = <ElementType.Phosphorus: 15>#
Pa = <ElementType.Protactinium: 91>#
Palladium = <ElementType.Palladium: 46>#
Pb = <ElementType.Lead: 82>#
Pd = <ElementType.Palladium: 46>#
Phosphorus = <ElementType.Phosphorus: 15>#
Platinum = <ElementType.Platinum: 78>#
Plutonium = <ElementType.Plutonium: 94>#
Pm = <ElementType.Promethium: 61>#
Po = <ElementType.Polonium: 84>#
Polonium = <ElementType.Polonium: 84>#
Potassium = <ElementType.Potassium: 19>#
Pr = <ElementType.Praseodymium: 59>#
Praseodymium = <ElementType.Praseodymium: 59>#
Promethium = <ElementType.Promethium: 61>#
Protactinium = <ElementType.Protactinium: 91>#
Pt = <ElementType.Platinum: 78>#
Pu = <ElementType.Plutonium: 94>#
Ra = <ElementType.Radium: 88>#
Radium = <ElementType.Radium: 88>#
Radon = <ElementType.Radon: 86>#
Rb = <ElementType.Rubidium: 37>#
Re = <ElementType.Rhenium: 75>#
Rf = <ElementType.Rutherfordium: 104>#
Rg = <ElementType.Roentgenium: 111>#
Rh = <ElementType.Rhodium: 45>#
Rhenium = <ElementType.Rhenium: 75>#
Rhodium = <ElementType.Rhodium: 45>#
Rn = <ElementType.Radon: 86>#
Roentgenium = <ElementType.Roentgenium: 111>#
Ru = <ElementType.Ruthenium: 44>#
Rubidium = <ElementType.Rubidium: 37>#
Ruthenium = <ElementType.Ruthenium: 44>#
Rutherfordium = <ElementType.Rutherfordium: 104>#
S = <ElementType.Sulfur: 16>#
Samarium = <ElementType.Samarium: 62>#
Sb = <ElementType.Antimony: 51>#
Sc = <ElementType.Scandium: 21>#
Scandium = <ElementType.Scandium: 21>#
Se = <ElementType.Selenium: 34>#
Seaborgium = <ElementType.Seaborgium: 106>#
Selenium = <ElementType.Selenium: 34>#
Sg = <ElementType.Seaborgium: 106>#
Si = <ElementType.Silicon: 14>#
Silicon = <ElementType.Silicon: 14>#
Silver = <ElementType.Silver: 47>#
Sm = <ElementType.Samarium: 62>#
Sn = <ElementType.Tin: 50>#
Sodium = <ElementType.Sodium: 11>#
Sr = <ElementType.Strontium: 38>#
Strontium = <ElementType.Strontium: 38>#
Sulfur = <ElementType.Sulfur: 16>#
Ta = <ElementType.Tantalum: 73>#
Tantalum = <ElementType.Tantalum: 73>#
Tb = <ElementType.Terbium: 65>#
Tc = <ElementType.Technetium: 43>#
Te = <ElementType.Tellurium: 52>#
Technetium = <ElementType.Technetium: 43>#
Tellurium = <ElementType.Tellurium: 52>#
Tennessine = <ElementType.Tennessine: 117>#
Terbium = <ElementType.Terbium: 65>#
Th = <ElementType.Thorium: 90>#
Thallium = <ElementType.Thallium: 81>#
Thorium = <ElementType.Thorium: 90>#
Thulium = <ElementType.Thulium: 69>#
Ti = <ElementType.Titanium: 22>#
Tin = <ElementType.Tin: 50>#
Titanium = <ElementType.Titanium: 22>#
Tl = <ElementType.Thallium: 81>#
Tm = <ElementType.Thulium: 69>#
Ts = <ElementType.Tennessine: 117>#
Tungsten = <ElementType.Tungsten: 74>#
U = <ElementType.Uranium: 92>#
Un = <ElementType.Unknown: 0>#
Unknown = <ElementType.Unknown: 0>#
Ununhexium = <ElementType.Livermorium: 116>#
Ununoctium = <ElementType.Oganesson: 118>#
Ununpentium = <ElementType.Moscovium: 115>#
Ununquadium = <ElementType.Flerovium: 114>#
Ununseptium = <ElementType.Tennessine: 117>#
Ununtrium = <ElementType.Nihonium: 113>#
Uranium = <ElementType.Uranium: 92>#
Uuh = <ElementType.Livermorium: 116>#
Uuo = <ElementType.Oganesson: 118>#
Uup = <ElementType.Moscovium: 115>#
Uuq = <ElementType.Flerovium: 114>#
Uus = <ElementType.Tennessine: 117>#
Uut = <ElementType.Nihonium: 113>#
V = <ElementType.Vanadium: 23>#
Vanadium = <ElementType.Vanadium: 23>#
W = <ElementType.Tungsten: 74>#
Xe = <ElementType.Xenon: 54>#
Xenon = <ElementType.Xenon: 54>#
Y = <ElementType.Yttrium: 39>#
Yb = <ElementType.Ytterbium: 70>#
Ytterbium = <ElementType.Ytterbium: 70>#
Yttrium = <ElementType.Yttrium: 39>#
Zinc = <ElementType.Zinc: 30>#
Zirconium = <ElementType.Zirconium: 40>#
Zn = <ElementType.Zinc: 30>#
Zr = <ElementType.Zirconium: 40>#
property name#
property value#
class MetalSubcategory(self: samson.SBElement.MetalSubcategory, value: int)#

Bases: pybind11_object

Members:

Unknown

AlkaliMetal

AlkalineEarthMetal

Lanthanide

Actinide

TransitionMetal

PostTransitionMetal

Metalloid

ReactiveNonmetal

NobleGas

Actinide = <MetalSubcategory.Actinide: 4>#
AlkaliMetal = <MetalSubcategory.AlkaliMetal: 1>#
AlkalineEarthMetal = <MetalSubcategory.AlkalineEarthMetal: 2>#
Lanthanide = <MetalSubcategory.Lanthanide: 3>#
Metalloid = <MetalSubcategory.Metalloid: 7>#
NobleGas = <MetalSubcategory.NobleGas: 10>#
PostTransitionMetal = <MetalSubcategory.PostTransitionMetal: 6>#
ReactiveNonmetal = <MetalSubcategory.ReactiveNonmetal: 9>#
TransitionMetal = <MetalSubcategory.TransitionMetal: 5>#
Unknown = <MetalSubcategory.Unknown: 0>#
property name#
property value#
static getColorCPK(elementType: SBMElement::Type) samson.SBColor#

Returns the CPK color of the element.

Parameters:

element (samson.SBElement.ElementType) – A periodic element type

Return type:

samson.SBColor

Examples

Get a color corresponding to the Carbon element type in the CPK color scheme:

>>> SBElement.getColorCPK(SBElement.Carbon)
SBColor(0.350000, 0.350000, 0.350000, 1.000000)
getCovalentRadius(self: samson.SBElement, bondType: int) samson.SBQuantity.unitsSI#

Returns the covalent radius of the element for bond type bondType (1 for single bond, 2 for double bond, 3 for triple bond, for other values it returns getCovalentRadius()).

Parameters:

bondType ({1, 2, 3}) – A bond type: 1 - single, 2 - double, 3 - triple.

Return type:

samson.SBQuantity

hasOxidationState(self: samson.SBElement, value: int) bool#

Returns True if the element has known oxidation state with the given integer value.

Parameters:

value (int) – An oxidation state value

Return type:

bool

printDebugInfo(self: samson.SBElement, offset: int = 0) None#

Prints the element

Ac = <ElementType.Actinium: 89>#
Actinide = <MetalSubcategory.Actinide: 4>#
Actinium = <ElementType.Actinium: 89>#
Ag = <ElementType.Silver: 47>#
Al = <ElementType.Aluminium: 13>#
AlkaliMetal = <MetalSubcategory.AlkaliMetal: 1>#
AlkalineEarthMetal = <MetalSubcategory.AlkalineEarthMetal: 2>#
Aluminium = <ElementType.Aluminium: 13>#
Am = <ElementType.Americium: 95>#
Americium = <ElementType.Americium: 95>#
Antimony = <ElementType.Antimony: 51>#
Ar = <ElementType.Argon: 18>#
Argon = <ElementType.Argon: 18>#
Arsenic = <ElementType.Arsenic: 33>#
As = <ElementType.Arsenic: 33>#
Astatine = <ElementType.Astatine: 85>#
At = <ElementType.Astatine: 85>#
Au = <ElementType.Gold: 79>#
B = <ElementType.Boron: 5>#
Ba = <ElementType.Barium: 56>#
Barium = <ElementType.Barium: 56>#
Be = <ElementType.Beryllium: 4>#
Berkelium = <ElementType.Berkelium: 97>#
Beryllium = <ElementType.Beryllium: 4>#
Bh = <ElementType.Bohrium: 107>#
Bi = <ElementType.Bismuth: 83>#
Bismuth = <ElementType.Bismuth: 83>#
Bk = <ElementType.Berkelium: 97>#
Bohrium = <ElementType.Bohrium: 107>#
Boron = <ElementType.Boron: 5>#
Br = <ElementType.Bromine: 35>#
Bromine = <ElementType.Bromine: 35>#
C = <ElementType.Carbon: 6>#
CG = <ElementType.CoarseGrained: 200>#
Ca = <ElementType.Calcium: 20>#
Cadmium = <ElementType.Cadmium: 48>#
Caesium = <ElementType.Caesium: 55>#
Calcium = <ElementType.Calcium: 20>#
Californium = <ElementType.Californium: 98>#
Carbon = <ElementType.Carbon: 6>#
Cd = <ElementType.Cadmium: 48>#
Ce = <ElementType.Cerium: 58>#
Cerium = <ElementType.Cerium: 58>#
Cf = <ElementType.Californium: 98>#
Chlorine = <ElementType.Chlorine: 17>#
Chromium = <ElementType.Chromium: 24>#
Cl = <ElementType.Chlorine: 17>#
Cm = <ElementType.Curium: 96>#
Cn = <ElementType.Copernicium: 112>#
Co = <ElementType.Cobalt: 27>#
CoarseGrained = <ElementType.CoarseGrained: 200>#
Cobalt = <ElementType.Cobalt: 27>#
Copernicium = <ElementType.Copernicium: 112>#
Copper = <ElementType.Copper: 29>#
Cr = <ElementType.Chromium: 24>#
Cs = <ElementType.Caesium: 55>#
Cu = <ElementType.Copper: 29>#
Curium = <ElementType.Curium: 96>#
Darmstadtium = <ElementType.Darmstadtium: 110>#
Db = <ElementType.Dubnium: 105>#
Ds = <ElementType.Darmstadtium: 110>#
Dubnium = <ElementType.Dubnium: 105>#
Dy = <ElementType.Dysprosium: 66>#
Dysprosium = <ElementType.Dysprosium: 66>#
Einsteinium = <ElementType.Einsteinium: 99>#
Er = <ElementType.Erbium: 68>#
Erbium = <ElementType.Erbium: 68>#
Es = <ElementType.Einsteinium: 99>#
Eu = <ElementType.Europium: 63>#
Europium = <ElementType.Europium: 63>#
F = <ElementType.Fluorine: 9>#
Fe = <ElementType.Iron: 26>#
Fermium = <ElementType.Fermium: 100>#
Fl = <ElementType.Flerovium: 114>#
Flerovium = <ElementType.Flerovium: 114>#
Fluorine = <ElementType.Fluorine: 9>#
Fm = <ElementType.Fermium: 100>#
Fr = <ElementType.Francium: 87>#
Francium = <ElementType.Francium: 87>#
Ga = <ElementType.Gallium: 31>#
Gadolinium = <ElementType.Gadolinium: 64>#
Gallium = <ElementType.Gallium: 31>#
Gd = <ElementType.Gadolinium: 64>#
Ge = <ElementType.Germanium: 32>#
Germanium = <ElementType.Germanium: 32>#
Gold = <ElementType.Gold: 79>#
H = <ElementType.Hydrogen: 1>#
Hafnium = <ElementType.Hafnium: 72>#
Hassium = <ElementType.Hassium: 108>#
He = <ElementType.Helium: 2>#
Helium = <ElementType.Helium: 2>#
Hf = <ElementType.Hafnium: 72>#
Hg = <ElementType.Mercury: 80>#
Ho = <ElementType.Holmium: 67>#
Holmium = <ElementType.Holmium: 67>#
Hs = <ElementType.Hassium: 108>#
Hydrogen = <ElementType.Hydrogen: 1>#
I = <ElementType.Iodine: 53>#
In = <ElementType.Indium: 49>#
Indium = <ElementType.Indium: 49>#
Iodine = <ElementType.Iodine: 53>#
Ir = <ElementType.Iridium: 77>#
Iridium = <ElementType.Iridium: 77>#
Iron = <ElementType.Iron: 26>#
K = <ElementType.Potassium: 19>#
Kr = <ElementType.Krypton: 36>#
Krypton = <ElementType.Krypton: 36>#
La = <ElementType.Lanthanum: 57>#
Lanthanide = <MetalSubcategory.Lanthanide: 3>#
Lanthanum = <ElementType.Lanthanum: 57>#
Lawrencium = <ElementType.Lawrencium: 103>#
Lead = <ElementType.Lead: 82>#
Li = <ElementType.Lithium: 3>#
Lithium = <ElementType.Lithium: 3>#
Livermorium = <ElementType.Livermorium: 116>#
Lr = <ElementType.Lawrencium: 103>#
Lu = <ElementType.Lutetium: 71>#
Lutetium = <ElementType.Lutetium: 71>#
Lv = <ElementType.Livermorium: 116>#
Magnesium = <ElementType.Magnesium: 12>#
Manganese = <ElementType.Manganese: 25>#
Mc = <ElementType.Moscovium: 115>#
Md = <ElementType.Mendelevium: 101>#
Meitnerium = <ElementType.Meitnerium: 109>#
Mendelevium = <ElementType.Mendelevium: 101>#
Mercury = <ElementType.Mercury: 80>#
Metalloid = <MetalSubcategory.Metalloid: 7>#
Mg = <ElementType.Magnesium: 12>#
Mn = <ElementType.Manganese: 25>#
Mo = <ElementType.Molybdenum: 42>#
Molybdenum = <ElementType.Molybdenum: 42>#
Moscovium = <ElementType.Moscovium: 115>#
Mt = <ElementType.Meitnerium: 109>#
N = <ElementType.Nitrogen: 7>#
Na = <ElementType.Sodium: 11>#
Nb = <ElementType.Niobium: 41>#
Nd = <ElementType.Neodymium: 60>#
Ne = <ElementType.Neon: 10>#
Neodymium = <ElementType.Neodymium: 60>#
Neon = <ElementType.Neon: 10>#
Neptunium = <ElementType.Neptunium: 93>#
Nh = <ElementType.Nihonium: 113>#
Ni = <ElementType.Nickel: 28>#
Nickel = <ElementType.Nickel: 28>#
Nihonium = <ElementType.Nihonium: 113>#
Niobium = <ElementType.Niobium: 41>#
Nitrogen = <ElementType.Nitrogen: 7>#
No = <ElementType.Nobelium: 102>#
Nobelium = <ElementType.Nobelium: 102>#
NobleGas = <MetalSubcategory.NobleGas: 10>#
Np = <ElementType.Neptunium: 93>#
O = <ElementType.Oxygen: 8>#
Og = <ElementType.Oganesson: 118>#
Oganesson = <ElementType.Oganesson: 118>#
Os = <ElementType.Osmium: 76>#
Osmium = <ElementType.Osmium: 76>#
Oxygen = <ElementType.Oxygen: 8>#
P = <ElementType.Phosphorus: 15>#
Pa = <ElementType.Protactinium: 91>#
Palladium = <ElementType.Palladium: 46>#
Pb = <ElementType.Lead: 82>#
Pd = <ElementType.Palladium: 46>#
Phosphorus = <ElementType.Phosphorus: 15>#
Platinum = <ElementType.Platinum: 78>#
Plutonium = <ElementType.Plutonium: 94>#
Pm = <ElementType.Promethium: 61>#
Po = <ElementType.Polonium: 84>#
Polonium = <ElementType.Polonium: 84>#
PostTransitionMetal = <MetalSubcategory.PostTransitionMetal: 6>#
Potassium = <ElementType.Potassium: 19>#
Pr = <ElementType.Praseodymium: 59>#
Praseodymium = <ElementType.Praseodymium: 59>#
Promethium = <ElementType.Promethium: 61>#
Protactinium = <ElementType.Protactinium: 91>#
Pt = <ElementType.Platinum: 78>#
Pu = <ElementType.Plutonium: 94>#
Ra = <ElementType.Radium: 88>#
Radium = <ElementType.Radium: 88>#
Radon = <ElementType.Radon: 86>#
Rb = <ElementType.Rubidium: 37>#
Re = <ElementType.Rhenium: 75>#
ReactiveNonmetal = <MetalSubcategory.ReactiveNonmetal: 9>#
Rf = <ElementType.Rutherfordium: 104>#
Rg = <ElementType.Roentgenium: 111>#
Rh = <ElementType.Rhodium: 45>#
Rhenium = <ElementType.Rhenium: 75>#
Rhodium = <ElementType.Rhodium: 45>#
Rn = <ElementType.Radon: 86>#
Roentgenium = <ElementType.Roentgenium: 111>#
Ru = <ElementType.Ruthenium: 44>#
Rubidium = <ElementType.Rubidium: 37>#
Ruthenium = <ElementType.Ruthenium: 44>#
Rutherfordium = <ElementType.Rutherfordium: 104>#
S = <ElementType.Sulfur: 16>#
Samarium = <ElementType.Samarium: 62>#
Sb = <ElementType.Antimony: 51>#
Sc = <ElementType.Scandium: 21>#
Scandium = <ElementType.Scandium: 21>#
Se = <ElementType.Selenium: 34>#
Seaborgium = <ElementType.Seaborgium: 106>#
Selenium = <ElementType.Selenium: 34>#
Sg = <ElementType.Seaborgium: 106>#
Si = <ElementType.Silicon: 14>#
Silicon = <ElementType.Silicon: 14>#
Silver = <ElementType.Silver: 47>#
Sm = <ElementType.Samarium: 62>#
Sn = <ElementType.Tin: 50>#
Sodium = <ElementType.Sodium: 11>#
Sr = <ElementType.Strontium: 38>#
Strontium = <ElementType.Strontium: 38>#
Sulfur = <ElementType.Sulfur: 16>#
Ta = <ElementType.Tantalum: 73>#
Tantalum = <ElementType.Tantalum: 73>#
Tb = <ElementType.Terbium: 65>#
Tc = <ElementType.Technetium: 43>#
Te = <ElementType.Tellurium: 52>#
Technetium = <ElementType.Technetium: 43>#
Tellurium = <ElementType.Tellurium: 52>#
Tennessine = <ElementType.Tennessine: 117>#
Terbium = <ElementType.Terbium: 65>#
Th = <ElementType.Thorium: 90>#
Thallium = <ElementType.Thallium: 81>#
Thorium = <ElementType.Thorium: 90>#
Thulium = <ElementType.Thulium: 69>#
Ti = <ElementType.Titanium: 22>#
Tin = <ElementType.Tin: 50>#
Titanium = <ElementType.Titanium: 22>#
Tl = <ElementType.Thallium: 81>#
Tm = <ElementType.Thulium: 69>#
TransitionMetal = <MetalSubcategory.TransitionMetal: 5>#
Ts = <ElementType.Tennessine: 117>#
Tungsten = <ElementType.Tungsten: 74>#
U = <ElementType.Uranium: 92>#
Un = <ElementType.Unknown: 0>#
Unknown = <MetalSubcategory.Unknown: 0>#
Ununhexium = <ElementType.Livermorium: 116>#
Ununoctium = <ElementType.Oganesson: 118>#
Ununpentium = <ElementType.Moscovium: 115>#
Ununquadium = <ElementType.Flerovium: 114>#
Ununseptium = <ElementType.Tennessine: 117>#
Ununtrium = <ElementType.Nihonium: 113>#
Uranium = <ElementType.Uranium: 92>#
Uuh = <ElementType.Livermorium: 116>#
Uuo = <ElementType.Oganesson: 118>#
Uup = <ElementType.Moscovium: 115>#
Uuq = <ElementType.Flerovium: 114>#
Uus = <ElementType.Tennessine: 117>#
Uut = <ElementType.Nihonium: 113>#
V = <ElementType.Vanadium: 23>#
Vanadium = <ElementType.Vanadium: 23>#
W = <ElementType.Tungsten: 74>#
Xe = <ElementType.Xenon: 54>#
Xenon = <ElementType.Xenon: 54>#
Y = <ElementType.Yttrium: 39>#
Yb = <ElementType.Ytterbium: 70>#
Ytterbium = <ElementType.Ytterbium: 70>#
Yttrium = <ElementType.Yttrium: 39>#
Zinc = <ElementType.Zinc: 30>#
Zirconium = <ElementType.Zirconium: 40>#
Zn = <ElementType.Zinc: 30>#
Zr = <ElementType.Zirconium: 40>#
property atomicNumber#

Returns the atomic number of the element

property atomicWeight#

Returns the atomic weight of the element

property block#

Returns the block of the element

property colorCPK#

Returns the CPK color of the element.

Return type:

samson.SBColor

Examples

Get a color corresponding to the Nitrogen element type in the CPK color scheme:

>>> SBElementTable.getElement(SBElement.N).colorCPK
SBColor(0.188235, 0.313726, 0.972549, 1.000000)
property covalentRadius#

Returns the covalent radius of the element

property electronegativity#

Returns the electronegativity of the element

property group#

Returns the group of the element

property isActinide#

Returns True if the element is actinide metal

property isAlkaliMetal#

Returns True if the element is alkali metal

property isAlkalineEarthMetal#

Returns True if the element is alkaline earth metal

property isDiatomicNonmetal#

Returns True if the element is diatomic nonmetal

property isHalogen#

Returns True if the element is halogen

property isLanthanide#

Returns True if the element is lanthanide metal

property isMetal#

Returns True if the element is metal

property isMetalloid#

Returns True if the element is metalloid

property isNobleGas#

Returns True if the element is noble gas

property isPolyatomicNonmetal#

Returns True if the element is polyatomic nonmetal

property isPostTransitionMetal#

Returns True if the element is post-transition metal

property isReactiveNonmetal#

Returns True if the element is reactive nonmetal

property isTransitionMetal#

Returns True if the element is transition metal

property metalSubcategory#

Returns the element’s subcategory type in the metal–metalloid–nonmetal trend

property metalSubcategoryString#

Returns the string representation of the element’s subcategory type in the metal–metalloid–nonmetal trend

property name#

Returns the name of the element

property period#

Returns the period of the element

property symbol#

Returns the symbol of the element

property type#

Returns the type of the element

property vanDerWaalsRadius#

Returns the van der Waals radius of the element