A python script which will read in a VASP density file (eg. CHG, CHGCAR and LOCPOT) and take a 2D slice through the data.
Matthew Dyer and Jonas Björk
If you have any questions, bug reports or suggestions for modifications please email Matthew Dyer using
Version 0.3 is now available.
Download the script by right-clicking on the Download link above and selecting "Save Link As" from the menu.
slice.py is distributed under the terms of the GNU General Public Licence. The full licence can be downloaded here or found at http://www.gnu.org/licenses.
If slice.py is in the current directory then an interactive session of slice.py can
be started either by typing
python ./slice.py
or by changing the mode of slice.py to allow executable permission and typing
./slice.py
Alternatively you may wish to copy slice.py to a directory where python
looks for files and then use
python slice.py
or copy the file with executable permission into a directory in your PATH
environment and type
slice.py
As a python script, you must have a working version of python installed on your machine to run slice.py. In addition the script depends on the following python modules and packages:
To do...
Date | Version | Comment |
19/01/2009 | 0.3 | Code is compatible with ase versions 3.1.0 and above. |
25/11/2008 | 0.2 | Original release version. |