Dihedrals¶
-
class
sknano.core.atoms.
Dihedrals
(*args, degrees=False, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.atoms.mixins.AngularTopologyCollection
Base class for collection of atom
Dihedral
s.Parameters: Attributes
Ndihedrals
Number of Dihedral
s inDihedrals
.Ntypes
Number of unique Topology.type
s.angles
ndarray
ofangle
s.atom_ids
list
ofatom_ids
.degrees
bool
setting for returning angles in degrees.dihedrals
ndarray
ofdihedral
s.fmtstr
Format string. ids
list
ofid
s.mean
An alias for TopologyCollection.mean_measure
.mean_angle
Mean angle. mean_dihedral
Mean dihedral angle. mean_measure
Mean measure. measures
ndarray
ofmeasure
s.parent
Parent Molecule
, if any.statistics
Dihedral stats. strains
ndarray
ofstrain
s.types
list
oftype
s.unique
Return new TopologyCollection
object containing the set of uniqueTopology
s.Methods
append
(item)clear
()compute_strains
(reference)Return ndarray
of topology measure strains.copy
()count
(item)extend
(other)index
(item, *args)insert
(i, item)pop
([i])remove
(item)reverse
()sort
([key, reverse])todict
()Return dict
of constructor parameters.