Editing
Xps.py
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
go back to [[Main Page]], [[Computational Resources]], [[Scripts]], [[Scripts for VASP]] or [[VASP]] 1. Download this script and move xps.py to your ~/bin folder. Link to download: [[Image:Xps.tgz]] 2. chmod u+x ~/bin/xps.py 3. Go to your calculation directory and run command: xps.py num (num is the number of the atom which you are intersted in) 4 This script will move the selected atom to the end of POSCAR and modify the line 6 and 7 accordingly. Note: 1) By default, this script reads POSCAR as input, if you want to use CONTCAR, there are two options: i) mv CONTCAR POSCAR ii) In line 16 of the script, change f = open("POSCAR", 'r') to f = open("CONTCAR", 'r') 2) You will get a kind Warning about the INCAR setting in your next XPS calculations, it is not the problem of the script. [[Image:Xps.png]] Enjoy
Summary:
Please note that all contributions to Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information