mbuild_polybuild.aa_molecules.ion.MonatomicIon.rotate_dihedral

MonatomicIon.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.