vmd.topology.impropers

vmd.topology.impropers()

Get all unique impropers within a specified molecule. Optionally, can get improper type as well

Parameters:
  • molid (int) – Molecule ID to query. Defaults to top molecule
  • type (bool) – Whether to include improper type information in the result Defaults to False.
Returns:

(list of lists) Information about each improper in the system. Each

improper will be a list with the indices of the four atoms comprising the improper, followed by improper type (as a string) if requested.