Improper¶
-
class
sknano.core.atoms.
Improper
(*args, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.atoms.mixins.AngularTopology
Class representation of improper angle between 4
Atom
objects.Parameters: Raises: TypeError
– ifatoms
is not a list ofAtom
objects or anAtoms
object.ValueError
– if len(atoms) != 4.
Attributes
angle
An alias for Topology.measure
.atom1
Atom
1 inImproper
.atom2
Atom
2 inImproper
.atom3
Atom
3 inImproper
.atom4
Atom
4 inImproper
.atom_ids
Topology.atoms
ids
.atoms
Atoms
inTopologyCollection
.centroid
centroid
ofTopology.atoms
.fmtstr
Format string. improper
An alias for Topology.measure
.measure
Measure of topology. strain
Strain 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 Topology
by rotating theatoms
.todict
()Return dict
of constructor parameters.Attributes Summary
atom1
Atom
1 inImproper
.atom2
Atom
2 inImproper
.atom3
Atom
3 inImproper
.atom4
Atom
4 inImproper
.improper
An alias for Topology.measure
.Methods Summary
compute_measure
()Compute the bond angle, which is the measure of an Angle
.todict
()Return dict
of constructor parameters.Attributes Documentation
-
improper
¶ 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
dict
of constructor parameters.