Angles¶
-
class
sknano.core.atoms.mixins.
Angles
(*args, degrees=False, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.atoms.mixins.AngularTopologyCollection
TopologyCollection
sub-class for collection of atomAngle
s.Parameters: Attributes
Nangles
Number of Angle
s inAngles
.Ntypes
Number of unique Topology.type
s.angles
ndarray
ofangle
s.atom_ids
list
ofatom_ids
.bond_pairs
list
ofAngle.bond_pairs
degrees
bool
setting for returning angles in degrees.fmtstr
Format string. ids
list
ofid
s.mean
An alias for TopologyCollection.mean_measure
.mean_angle
Mean angle. mean_measure
Mean measure. measures
ndarray
ofmeasure
s.parent
Parent Molecule
, if any.statistics
Angle 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.