| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
list --+
|
structure.Structure --+
|
BRAtomsStructure
BRAtomsStructure --> Structure with extra information for use with Bruce
Ravel's atoms program.
Data members:
bratoms -- dictionary for storing following extra parameters from
atoms .inp files.
'space', 'output', 'rmax', 'core', 'edge', 'shift',
'nitrogen', 'argon', 'krypton'
see the following web site for descriptions.
http://leonardo.phys.washington.edu/~ravel/software/doc/Atoms/Atoms/node7.html
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
define group of atoms in a specified lattice.
atoms -- list of Atom instances to be included in this Structure.
When atoms argument is an existing Structure instance,
the new Structure is its copy.
lattice -- instance of Lattice defining coordinate systems, property.
title -- string description of the structure
filename -- optional, name of a file to load the structure from.
Overrides atoms argument when specified.
Structure(stru) create a copy of Structure instance stru.
Because Structure is inherited from a list it can use list expansions,
for example:
oxygen_atoms = [ for a in stru if a.element == "O" ]
oxygen_stru = Structure(oxygen_atoms, lattice=stru.lattice)
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Fri Apr 10 19:10:02 2009 | http://epydoc.sourceforge.net |