xnn.ffnn.models.amberlib.resolve_improper_type#

xnn.ffnn.models.amberlib.resolve_improper_type(improper_types, i, j, k, l)[source]#

Find the improper key for atom types already in evaluation order.

Parameters:
  • improper_types (dict) – The library’s improper table.

  • i (str) – Atom types with k central and l the distinguished atom.

  • j (str) – Atom types with k central and l the distinguished atom.

  • k (str) – Atom types with k central and l the distinguished atom.

  • l (str) – Atom types with k central and l the distinguished atom.

Returns:

The key (exact positions, then wildcard patterns in table order), or None.

Return type:

str or None