Angles

class sknano.core.atoms.Angles(*args, degrees=False, **kwargs)[source] [edit on github][source]

Bases: sknano.core.atoms.mixins.AngularTopologyCollection

TopologyCollection sub-class for collection of atom Angles.

Parameters:
  • topolist ({None, sequence, Angles}, optional) – if not None, then a list of Angle objects
  • parent (Parent Molecule, if any.) –
  • degrees (bool, optional) –

Attributes

Nangles Number of Angles in Angles.
Ntypes Number of unique Topology.types.
angles ndarray of angles.
atom_ids list of atom_ids.
bond_pairs list of Angle.bond_pairs
degrees bool setting for returning angles in degrees.
fmtstr Format string.
ids list of ids.
mean An alias for TopologyCollection.mean_measure.
mean_angle Mean angle.
mean_measure Mean measure.
measures ndarray of measures.
parent Parent Molecule, if any.
statistics Angle stats.
strains ndarray of strains.
types list of types.
unique Return new TopologyCollection object containing the set of unique Topologys.

Methods

append(item)
clear()
compute_strains(reference) Return ndarray of topology measure strains.
copy()
count(item)
extend(other)
index(item, *args)
insert(i, item)
pop([i])
remove(item)
reverse()
sort([key, reverse])
todict() Return dict of constructor parameters.