AngularTopologyCollection¶
-
class
sknano.core.atoms.
AngularTopologyCollection
(*args, degrees=False, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.atoms.mixins.TopologyCollection
TopologyCollection
sub-class for collection of angular topologies.Parameters: - topolist ({None, sequence,
AngularTopology
}, optional) – if notNone
, then a list ofAngularTopology
objects - parent (Parent
Molecule
, if any.) – - degrees (
bool
, optional) –
Attributes
Ntypes
Number of unique Topology.type
s.angles
ndarray
ofangle
s.atom_ids
list
ofatom_ids
.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
TopologyStats
ofTopologyCollection.measures
statistics.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.- topolist ({None, sequence,