## invert()


The other configuration. An undetermined LS is returned unchanged.


Usage

``` python
invert(ls)
```


A chiral LS (parity ±1) gives its mirror image, by flipping the parity. [PlanarBond](PlanarBond.md#protomol.PlanarBond) swaps c and d (cis ⇄ trans). [SquarePlanar](SquarePlanar.md#protomol.SquarePlanar) is returned unchanged: it is its own mirror image, and it has three configurations, not two ([isomers](isomers.md#protomol.isomers) lists them).

``` python
>>> invert(PlanarBond(atoms=(1, 2, 3, 4, 5, 6), parity=0)).atoms
```

(1, 2, 3, 4, 6, 5)
