sknano.core.atoms.TypeAtom

class sknano.core.atoms.TypeAtom(*args, *, type=1, **kwargs)[source][source]

An Atom class with an atom type attribute.

Parameters:

element : {str, int}, optional

A string representation of the element symbol or an integer specifying an element atomic number.

type : int, optional

atom type

Attributes

Z Atomic number \(Z\).
atomtype
element Element symbol.
fmtstr Format string.
m
mass Atomic mass \(m_a\) in atomic mass units.
symbol Element symbol.
type type.

Methods

rezero(*args, **kwargs)
rotate(**kwargs)
todict()
translate(*args, **kwargs)