TopologyCollection¶
-
class
sknano.core.atoms.mixins.TopologyCollection(topolist=None, parent=None)[source] [edit on github][source]¶ Bases:
sknano.core.strings.TabulateMixin,sknano.core.collections.UserListBase
Atomstopology class.Parameters: Attributes
NtypesNumber of unique Topology.types.atom_idslistofatom_ids.fmtstrFormat string. idslistofids.meanAn alias for TopologyCollection.mean_measure.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.