sknano.core.atoms.Bonds¶
-
class
sknano.core.atoms.Bonds(bonds=None)[source][source]¶ Base class for collection of atom
Bonds.Parameters: bonds : {None, sequence,
Bonds}, optionalif not None, then a list of
Bondinstance objectsAttributes
NbondsNumber of Bonds inBonds.anglesndarrayofBondpair angles.atomsAtomssetinBonds.bond_angle_pairscyclic_pairs of Bonds.fmtstrlengthsndarrayoflengths.mean_angleMean bond angle. mean_lengthMean bond length. unit_vectorsndarrayofunit_vectors.vectorsndarrayofvectors.Methods
append(item)clear()copy()count(item)extend(other)index(item, *args)insert(i, item)pop([i])remove(item)reverse()sort([key, reverse])todict()