Skip to main content

site()

The centre atom, or the sorted pair of end atoms (the key in the graph’s maps).

Usage

Source

site(ls)
>>> site(Tetrahedral(atoms=(0, 1, 2, 3, None)))

0

>>> site(PlanarBond(atoms=(5, 6, 3, 2, 7, 8)))

(2, 3)