ImageAtom

class sknano.core.atoms.ImageAtom(*args, ix=None, iy=None, iz=None, **kwargs)[source] [edit on github][source]

Bases: sknano.core.atoms.atoms.Atom

An Atom sub-class with image count attributes.

Parameters:iy, iz (ix,) – \(x, y, z\) ImageAtom image count

Attributes

Z Atomic number \(Z\).
element Element symbol.
fmtstr Format string.
i \(i_x, i_y, i_z\) image flags
ix \(i_x\) image flag.
iy \(i_y\) image flag.
iz \(i_z\) image flag.
m An alias for mass.
mass Atomic mass \(m_a\) in atomic mass units.
symbol Element symbol.

Methods

getattr(attr[, default, recursive]) Get atom attribute named attr.
reset_attrs(**kwargs) Reset atom attributes.
rezero(*args, **kwargs)
todict()
update_attrs(**kwargs) Update atom attributes.

Attributes Summary

i \(i_x, i_y, i_z\) image flags
ix \(i_x\) image flag.
iy \(i_y\) image flag.
iz \(i_z\) image flag.

Methods Summary

todict()

Attributes Documentation

i

\(i_x, i_y, i_z\) image flags

Returns:
Return type:Point
ix

\(i_x\) image flag.

iy

\(i_y\) image flag.

iz

\(i_z\) image flag.

Methods Documentation

todict()[source] [edit on github][source]