opencadd.structure.core.Structure.add_angles

Structure.add_angles(values, types=None, guessed=False)

Add new Angles to this Universe.

Parameters
  • values (iterable of tuples, AtomGroups, or Angles; or TopologyGroup) – An iterable of: tuples of 3 atom indices, or AtomGroups with 3 atoms, or Angles. If every value is a Angle, all keywords are ignored. If AtomGroups, Angles, or a TopologyGroup are passed, they must be from the same Universe.

  • types (iterable (optional, default None)) – None, or an iterable of hashable values with the same length as values

  • guessed (bool or iterable (optional, default False)) – bool, or an iterable of hashable values with the same length as values

  • .. versionadded:: 1.0.0