## Candidates


The stereocenter candidates, each with its stereo-determining neighbors.


Usage

``` python
Candidates()
```


`atoms` maps an atom to its 3 or 4 neighbors. `bonds` maps a bond `(i, j)` to the neighbors of `i`, then of `j`, without the other bond atom (1 to 4 on each side: 4 in a TS where `i` swaps both its other neighbors). Any neighbor order is valid: a local parity is measured against the order given. A bond given as `(j, i)` is sorted, with its two sides swapped.

For a TS, `atoms` holds the reactant-side neighbors, or the product-side ones if the atom is tetrahedral only there. `reverse_atoms` holds the product-side neighbors of an atom that is tetrahedral on both sides with different neighbors; reading the TS reversed uses them. Each of its keys is also a key of `atoms`.


## Examples


``` python
    >>> import amchi
    >>> candidates = amchi.Candidates(bonds={(3, 1): ([4], [0, 5])})
    >>> candidates.bonds
```

    {(1, 3): ((0, 5), (4,))}
