vmd.topology.angles

vmd.topology.angles()

Get all unique angles within a specified molecule. Optionally, can get angle type as well

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

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

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