pyvibdmc.analysis.rotator
Classes
A helper class that will rotate a stack of molecules and generate 3D rotation matrices using vectorized |
Module Contents
- class pyvibdmc.analysis.rotator.MolRotator[source]
A helper class that will rotate a stack of molecules and generate 3D rotation matrices using vectorized numpy operations.
- static rotate_geoms(rot_mats, geoms)[source]
Takes in a stack of rotation matrices and applies it to a stack of geometries.
- static rotate_vec(rot_mats, vecc)[source]
Takes in a stack of rotation matrices and applies it to a stack of vector
- static gen_rot_mats(theta, xyz_int)[source]
Generates the 3D rotation matrix about X, Y, or Z by theta radians
- static rotate_to_xy_plane(geoms, orig, xax, xyp, return_mat=False)[source]
Rotate geometries to XY plane, placing one atom at the origin, one on the xaxis, and one on the xyplane. Done through successive rotations about the X-axis, Z-axis then X-axis again.