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 notNone
, then a list ofAtom
instances or anAtoms
instance.Attributes
fmtstr
Format string. Methods
rezero
(*args, **kwargs)rotate
(**kwargs)todict
()Return dict
ofMolecule
constructor parameters.translate
(*args, **kwargs)Methods Summary
rezero
(*args, **kwargs)rotate
(**kwargs)todict
()Return dict
ofMolecule
constructor parameters.translate
(*args, **kwargs)Methods Documentation
-
rezero
(*args, **kwargs)[source] [edit on github][source]¶
-
rotate
(**kwargs)[source] [edit on github][source]¶
-
translate
(*args, **kwargs)[source] [edit on github][source]¶
-