opencadd.structure.core.Structure.add_impropers
- Structure.add_impropers(values, types=None, guessed=False)
Add new Impropers to this Universe.
- Parameters
values (iterable of tuples, AtomGroups, or Impropers; or TopologyGroup) – An iterable of: tuples of 4 atom indices, or AtomGroups with 4 atoms, or Impropers. If every value is an Improper, all keywords are ignored. If AtomGroups, Impropers, 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
New in version 1.0.0.