-
-
Notifications
You must be signed in to change notification settings - Fork 64
Python Atom
Nick Papior edited this page Sep 17, 2015
·
4 revisions
The Atom
object handles all quantities related to atomic
species and their settings.
Atomic objects are created either via dictionary lookups or via object creation.
C = sids.Atom(6)
C = sids.Atom[6]
are both equivalent.
The Atom
class can be created to arbitrary precision
C = sids.Atom(6,orbs=2,R=(2.,5.),mass=14,tag='C_hello')
which creates a Carbon atom with 2 orbitals, with 2. Å and 5. Å respectively.
The atom has a tag which identifies it via the string 'C_hello'
which makes
it comparable to other Carbon atoms with different settings.