Dihedral¶
-
class
sknano.core.atoms.mixins.Dihedral(*args, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.atoms.mixins.AngularTopologyClass representation of dihedral angle between 4
Atomobjects.Parameters: Raises: TypeError– ifatomsis not a list ofAtomobjects or anAtomsobject.ValueError– if len(atoms) != 4.
Attributes
angleAn alias for Topology.measure.atom1Atom1 inDihedral.atom2Atom2 inDihedral.atom3Atom3 inDihedral.atom4Atom4 inDihedral.atom_idsTopology.atomsids.atomsAtomsinTopologyCollection.centroidcentroidofTopology.atoms.dihedralAn alias for Topology.measure.fmtstrFormat string. measureMeasure of topology. strainStrain in measure. Methods
compute_measure()Compute the bond angle, which is the measure of an Angle.compute_strain(m0)Compute topological strain in Topology.measure.rotate(**kwargs)Rotate the Topologyby rotating theatoms.todict()Return dictof constructor parameters.Attributes Summary
atom1Atom1 inDihedral.atom2Atom2 inDihedral.atom3Atom3 inDihedral.atom4Atom4 inDihedral.dihedralAn alias for Topology.measure.Methods Summary
compute_measure()Compute the bond angle, which is the measure of an Angle.todict()Return dictof constructor parameters.Attributes Documentation
-
dihedral¶ An alias for
Topology.measure.
Methods Documentation
-
compute_measure()[source] [edit on github][source]¶ Compute the bond angle, which is the measure of an
Angle.Returns: Return type: float
-
todict()[source] [edit on github][source]¶ Return
dictof constructor parameters.