mbuild_polybuild.aa_fragments.c_quaternary.C.rotate_dihedral

C.rotate_dihedral(bond, phi)

Rotate a dihedral about a central bond.

Parameters:
  • bond (indexable object, length=2, dtype=mb.Compound) – The pair of bonded Particles in the central bond of the dihedral

  • phi (float) – The angle by which to rotate the dihedral, in radians.