sknano.core.atoms.Bonds¶
-
class
sknano.core.atoms.
Bonds
(bonds=None)[source][source]¶ Base class for collection of atom
Bond
s.Parameters: bonds : {None, sequence,
Bonds
}, optionalif not None, then a list of
Bond
instance objectsAttributes
Nbonds
Number of Bond
s inBonds
.angles
ndarray
ofBond
pair angles.atoms
Atoms
set
inBonds
.bond_angle_pairs
cyclic_pairs of Bond
s.fmtstr
lengths
ndarray
oflength
s.mean_angle
Mean bond angle. mean_length
Mean bond length. unit_vectors
ndarray
ofunit_vector
s.vectors
ndarray
ofvector
s.Methods
append
(item)clear
()copy
()count
(item)extend
(other)index
(item, *args)insert
(i, item)pop
([i])remove
(item)reverse
()sort
([key, reverse])todict
()