AngularTopology

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

Bases: sknano.core.atoms.mixins.Topology

Topology sub-class for topology with angular measure.

Parameters:
  • *atoms

    list of Atoms or an Atoms object.

  • check_operands (bool, optional) –
  • parent (Parent Molecule, if any.) –
  • id (int) –
  • degrees (bool, optional) –
Raises:

TypeError – if atoms is not a list of Atom objects or an Atoms object.

Attributes

angle An alias for Topology.measure.
atom_ids Topology.atoms ids.
atoms Atoms in TopologyCollection.
centroid centroid of Topology.atoms.
fmtstr Format string.
measure Measure of topology.
strain Strain in measure.

Methods

compute_measure() Compute topological measure from Topology.atoms.
compute_strain(m0) Compute topological strain in Topology.measure.
rotate(**kwargs) Rotate the Topology by rotating the atoms.
todict() Return dict of constructor parameters.

Attributes Summary

angle An alias for Topology.measure.

Methods Summary

todict() Return dict of constructor parameters.

Attributes Documentation

angle

An alias for Topology.measure.

Methods Documentation

todict()[source] [edit on github][source]

Return dict of constructor parameters.