Dihedrals¶
-
class
sknano.core.atoms.mixins.Dihedrals(*args, degrees=False, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.atoms.mixins.AngularTopologyCollectionBase class for collection of atom
Dihedrals.Parameters: Attributes
NdihedralsNumber of Dihedrals inDihedrals.NtypesNumber of unique Topology.types.anglesndarrayofangles.atom_idslistofatom_ids.degreesboolsetting for returning angles in degrees.dihedralsndarrayofdihedrals.fmtstrFormat string. idslistofids.meanAn alias for TopologyCollection.mean_measure.mean_angleMean angle. mean_dihedralMean dihedral angle. mean_measureMean measure. measuresndarrayofmeasures.parentParent Molecule, if any.statisticsDihedral stats. 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.