Python tools for VASP
Project description
VASP-tools
Our collection of tools for pre- and post-processing VASP calculations. Mainly Python and Bash.
Installation
Clone this repository and run pip install . inside the main directory. If you want to always use the latest content of the repo you can use the 'developement' install of pip by running pip install -e .. Just doing git pull to get the latest content of the repo will then automatically result in the usage of the latest code without need to reinstall.
You can also use the latest release by installing it from PyPi:
pip install orcatools
Dependencies
Different for each script, but mainly
Pre-Processing
- freq2mode: generates MODECAR and mass-weighted MODCAR files from frequency calculations
Post-Processing
- chgcar2cube.py: Convert CHGCAR-like files to cube files using Pymatgen and ASE.
- neb2movie.py: Convert VASP NEB to ASE ext-xyz movie, just like nebmovie.pl of VTST.
- poscar2nbands.py: Helper to get the NBANDS value for LOBSTER calculations using the current POSCAR, INCAR and POTCAR setup with 'standard' options.
- vasp2traj.py: Convert VASP geometry optimization output to ASE compatible ext-xyz trajectory file.
- vasp-check.py: Assert proper occupations and SCF+GO convergence in VASP using ASE.
- vaspGetEF.py: Creates a plot of energy and forces along multiple GO runs (e.g. for restart jobs). Gathers data in all numeric subfolders and this folder containing a vasprun.xml file (depth one) and combines them in a single plot.
- visualize-magnetization.sh: Creates a VMD visualisation state file for the magnetization denisty by splitting the CHGCAR (by running chgsplit.pl), converting it to a cube file (by running chgcar2cube.sh) and then creating representations for VMD.
- viewMode.py: Shows a graphical preview of a MODECAR file using ase gui
- plotIRC: Tool that creates a plot of VASP IRC calculations in both direction and is compatible with shifts in the starting structure.
- replace_potcar_symlinks.sh: Searches for POTCARS in subdirs and replaces them with symlinks. CAREFUL!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tools4vasp-0.0.2.tar.gz.
File metadata
- Download URL: tools4vasp-0.0.2.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41300b2d545304ebd3315dd056d77ecadfd8a5ae3265081c87de91260912c8de
|
|
| MD5 |
049540e87b1e1c15246995ef409ce7c3
|
|
| BLAKE2b-256 |
1f1267295cf87f79514d54a0c8fa2f531d04f519c9d87aae9a609e6f085b003c
|
File details
Details for the file tools4vasp-0.0.2-py3-none-any.whl.
File metadata
- Download URL: tools4vasp-0.0.2-py3-none-any.whl
- Upload date:
- Size: 29.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19b8fea13fe3900d3fa970e716e53219a42f38ec3c4994f3f59dc9b594eb603b
|
|
| MD5 |
f0952a5615f45757d1f98e4f19e9453e
|
|
| BLAKE2b-256 |
850f9d6c25c91f09e9a635118c81b59c4a8556a864aa56d9dc6edc9cefaa1bbe
|