## ParityMargins


How far each candidate is from an ill-defined parity, with the candidates' keys.


Usage

``` python
ParityMargins()
```


For an atom, `|det| / d**3`, with `d` the mean distance to its neighbors: 3.08 for an ideal tetrahedron, 0.77 for an ideal pyramid with a lone pair, and 0 for a planar atom. `reverse_atoms` gives the same for a TS atom's reverse neighbors. For a bond, the smallest `|cos|` of the dihedral angle over the pairs of neighbors across it: 1 when planar, 0 at 90°.


## Examples


``` python
    >>> import amchi
    >>> amchi.ParityMargins(atoms={0: 3.08}, bonds={}).atoms
```

    {0: 3.08}
