__call__(self,
atom1,
atom2,
atom3=None,
atom4=None,
atom5=None,
atom6=None,
minangle=False)
(Call operator)
|
|
Measure the distance, angle, dihedral angle, or angle between planes
of the provided atoms under periodic boundary condition.
If atom1 and atom2 are provided, return the distance between them.
If atom1, atom2, and atom3 are provided, return the angle between
them.
If atoms 1-4 are provided, return the dihedral angle between them.
If atoms 1-6 are provided, return the angle between the planes defined
by atoms 1-3 and atoms 4-6.
Each of the atom arguments can be integer atom indices or
structure._StructureAtom objects.
Parameters
- Parameters:
minangle (bool) - This applies to the planar angle calculation and if True
restricts the angle to <= 90.0 degrees. That is, it treats
the order of atoms defining a plane as unimportant, and the
directionality of the plane normals is ignored.
|