Composition¶
-
class
sknano.core.structures.
Composition
(components=None, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.meta.BaseClass
Base class for abstract representation of a composition.
Parameters: components ({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
ofComposition
constructor parameters.translate
(*args, **kwargs)Methods Summary
rezero
(*args, **kwargs)rotate
(**kwargs)todict
()Return dict
ofComposition
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
ofComposition
constructor parameters.
-
translate
(*args, **kwargs)[source] [edit on github][source]¶
-