Impropers

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

Bases: sknano.core.atoms.mixins.AngularTopologyCollection

Base class for collection of atom Impropers.

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

Attributes

Nimpropers Number of Impropers in Impropers.
Ntypes Number of unique Topology.types.
angles ndarray of angles.
atom_ids list of atom_ids.
degrees bool setting for returning angles in degrees.
fmtstr Format string.
ids list of ids.
impropers ndarray of angless.
mean An alias for TopologyCollection.mean_measure.
mean_angle Mean angle.
mean_improper Mean improper angle.
mean_measure Mean measure.
measures ndarray of measures.
parent Parent Molecule, if any.
statistics Improper 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.