sknano.core.atoms.Bonds¶
-
class
sknano.core.atoms.Bonds(bonds=None, copylist=True, deepcopy=False)[source][source]¶ Base class for collection of atom
Bonds.Parameters: bonds : {None, sequence,
Bonds}, optionalif not None, then a list of
Bondinstance objectscopylist : bool, optional
perform shallow copy of bonds list
deepcopy : bool, optional
perform deepcopy of bonds list
Attributes
NbondsNumber of Bonds inBonds.anglesnumpy.ndarrayofBondpair angles.atomsAtomssetinBonds.bond_angle_pairscyclic_pairs of Bonds.lengthsnumpy.ndarrayoflengths.mean_angleMean bond angle. mean_lengthMean bond length. unit_vectorsnumpy.ndarrayofunit_vectors.vectorsnumpy.ndarrayofvectors.Methods
append(item)clear()copy()count(item)extend(other)index(item, *args)insert(i, item)pop([i])remove(item)reverse()sort([key, reverse])