Xps 2.py: Difference between revisions

From Wiki
Jump to navigation Jump to search
QiangLi (talk | contribs)
New page: Image:Xps 2.tgz Personally, I suggest to use this one to prepare the POSCAR in XPS calculations. In this script, I move the atom at the beginning of the element list. For example: ...
 
QiangLi (talk | contribs)
No edit summary
Line 5: Line 5:
In this script, I move the atom at the beginning of the element list.
In this script, I move the atom at the beginning of the element list.


For example:
For example, if we calculate the xps for one Ni atom. following are the 6th and 7th lines in the POSCAR


== This version ==
Ni C O


Ni C O
36 1 2
36 1 2


to
 
==out put of This version ==
 
In this verison, the POSCAR looks like this:


Ni Ni C O  
Ni Ni C O  
1 35 1 2  
1 35 1 2  




== Previous Version ==  
== Previous Version ==  
In the old version, the POSCAR looks like this


Ni C O Ni  
Ni C O Ni  
35 1 2 1
35 1 2 1

Revision as of 10:12, 9 January 2019

File:Xps 2.tgz

Personally, I suggest to use this one to prepare the POSCAR in XPS calculations.

In this script, I move the atom at the beginning of the element list.

For example, if we calculate the xps for one Ni atom. following are the 6th and 7th lines in the POSCAR

Ni C O

36 1 2


out put of This version

In this verison, the POSCAR looks like this:

Ni Ni C O

1 35 1 2


Previous Version

In the old version, the POSCAR looks like this

Ni C O Ni

35 1 2 1