Skip to main content

Module geometry

Module geometry 

Source
Expand description

Coordinate geometry: distances, angles, dihedrals, RMSD.

Functionsยง

angle
Bond angle in degrees at the central atom a2.
angle_points
Bond angle in degrees at the central point p2.
center_of_mass
Geometric center of mass (unweighted) of a slice of atoms.
center_of_mass_points
Geometric center of mass (unweighted) of a slice of points.
dihedral
Dihedral (torsion) angle in degrees defined by four atoms.
dihedral_points
Dihedral (torsion) angle in degrees defined by four points.
distance
Euclidean distance between two atoms.
distance_points
Euclidean distance between two points.
rmsd
RMSD between two equal-length sets of atoms (no alignment, direct comparison).
rmsd_points
RMSD between two equal-length slices of points.