## rotors()


The hindered rotors of a stereo graph, sorted by their axes' atoms (P86).


Usage

``` python
rotors(g)
```


A bond is a rotor axis when no bond LS holds it (P9), it is in no ring, each end has another neighbour, and neither end is linear (sp: a triple bond or two double bonds). A linear chain (2-butyne's C≡C, or a cumulene with no chain LS) gives one axis between its outer ends; a chain LS holds it. At a TS the rules run on the condensed graph: a ring there is rigid (a cyclic TS too), an atom is linear if it is sp on both sides, a transferred atom (one breaking and one forming bond, the H of C···H···O) is linear, and a bond LS in any slot of a change holds its bond. To hold another torsion, put an [AtropBond](AtropBond.md#protomol.AtropBond) on it.

``` python
>>> from protomol import from_smiles
>>> rotors(from_smiles("CC"))
```

\[Rotor(axis=(0, 1), top=(5, 6, 7))\]

``` python
>>> rotors(from_smiles("CC#CC"))  # one rotor across the linear chain
```

\[Rotor(axis=(0, 3), top=(7, 8, 9))\]

``` python
>>> rotors(from_smiles("C=C")), rotors(from_smiles("C1CCCCC1"))
```

(\[\], \[\])


## Raises


`TypeError`  
If `g` is not a stereo graph (`rotors(low_t(g))` gives a plain one its sites, P83).

`GraphError`  
If no Lewis structure fits a side (to find the linear atoms).
