pdb2sql.transform.rot_mat

pdb2sql.transform.rot_mat(db, mat, **kwargs)[source]

Rotate molecule in SQL database from a rotation matrix.

Parameters
  • mat (np.array) – 3x3 rotation matrix

  • kwargs – keyword argument to select the atoms.