AngularTopologyCollection¶
-
class
sknano.core.atoms.AngularTopologyCollection(*args, degrees=False, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.atoms.mixins.TopologyCollectionTopologyCollectionsub-class for collection of angular topologies.Parameters: - topolist ({None, sequence,
AngularTopology}, optional) – if notNone, then a list ofAngularTopologyobjects - parent (Parent
Molecule, if any.) – - degrees (
bool, optional) –
Attributes
NtypesNumber of unique Topology.types.anglesndarrayofangles.atom_idslistofatom_ids.degreesboolsetting for returning angles in degrees.fmtstrFormat string. idslistofids.meanAn alias for TopologyCollection.mean_measure.mean_angleMean angle. mean_measureMean measure. measuresndarrayofmeasures.parentParent Molecule, if any.statisticsTopologyStatsofTopologyCollection.measuresstatistics.strainsndarrayofstrains.typeslistoftypes.uniqueReturn new TopologyCollectionobject containing the set of uniqueTopologys.Methods
append(item)clear()compute_strains(reference)Return ndarrayof topology measure strains.copy()count(item)extend(other)index(item, *args)insert(i, item)pop([i])remove(item)reverse()sort([key, reverse])todict()Return dictof constructor parameters.- topolist ({None, sequence,