ProteinMotion
Reference navigation

Torsions

proteinmotion.torsions

Measure, set, and animate backbone and side-chain torsion angles in degrees.

Guide and rendered examples →

Classes

NameDescription
SetTorsionsclassAnimate backbone and side-chain torsions to new values in degrees; atoms rotate about bonds, so bond lengths and angles stay fixed.
RotateTorsionsclassTurn torsions by amounts in degrees, for example a full side-chain rotation.
TorsionAnglesclassφ, ψ, ω, and χ1–χ5 in degrees for a set of residues; NaN where a residue lacks a torsion.
TorsionMarkerclassA live protractor for one torsion: its bond, an arc around the bond, and the current angle.
View module source