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 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 Composition constructor parameters.
translate(*args, **kwargs)

Methods Summary

rezero(*args, **kwargs)
rotate(**kwargs)
todict() Return dict of Composition 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 Composition constructor parameters.

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