Molecule

class sknano.core.atoms.molecules.Molecule(atoms=None, **kwargs)[source] [edit on github][source]

Bases: sknano.core.meta.BaseClass

Base class for abstract representation of a molecule.

Per Wikipedia, “a molecule is an electrically neutral group of two or more atoms held together by chemical bonds.”

Parameters:atoms ({None, sequence, Atoms}, optional) – if not None, then a list of Atom instances or an Atoms instance.

Attributes

fmtstr Format string.

Methods

rezero(*args, **kwargs)
rotate(**kwargs)
todict() Return dict of Molecule constructor parameters.
translate(*args, **kwargs)

Methods Summary

rezero(*args, **kwargs)
rotate(**kwargs)
todict() Return dict of Molecule constructor parameters.
translate(*args, **kwargs)

Methods Documentation

rezero(*args, **kwargs)[source] [edit on github][source]
rotate(**kwargs)[source] [edit on github][source]
todict()[source] [edit on github][source]

Return dict of Molecule constructor parameters.

translate(*args, **kwargs)[source] [edit on github][source]