A python package to analyze XDATCAR files generated from VASP
Project description
xdatbus
xdatbus is a Python library designed specifically for VASP users engaged in research on ab-initio MD simulations, as well as biased MD simulations. The primary file addressed by the package is the XDATCAR, a trajectories file generated by the Vienna Ab-initio Simulation Package (VASP). The package documentation can be accessed here and the Jupyter Notebook tutorial is also available.
Installation
Make sure you have a Python interpreter, preferably version 3.10 or higher. Then, you can simply install xdatbus
from pypi using pip
:
pip install xdatbus
If you'd like to use the latest unreleased version on the main branch, you can install it directly from GitHub:
pip install -U git+https://https://github.com/jcwang587/xdatbus
Get Started
This is a brief example demonstrating how to use the basic function of xdatbus
to aggregate multiple xdatcar files into one and unwrap the coordinates into an .xyz file:
import os
from xdatbus import xdc_aggregate, xdc_unwrap
xdc_dir = "./data"
output_path = os.path.dirname(xdc_dir)
xdc_aggregate(xdc_dir=xdc_dir, output_path=output_path)
xdc_unwrap(xdatcar_path=output_path)
Update log
0.0.6
first upload for test
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file xdatbus-0.0.92.tar.gz
.
File metadata
- Download URL: xdatbus-0.0.92.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7292c54bd89c55c547daca98d20ed726fbf94233463d9c4365bd25df19c6bf65 |
|
MD5 | e7e3831af462debcb29a0a823eb32190 |
|
BLAKE2b-256 | 673bd0c9e8bfc5bd3f4e3bce602cc122147e8864dd513330ba39994891f0d4f3 |
File details
Details for the file xdatbus-0.0.92-py3-none-any.whl
.
File metadata
- Download URL: xdatbus-0.0.92-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e7f596e7424a82984332212985fb5bbafeb56ab37c1e034c4692b6d86295b2c |
|
MD5 | bde1218b2b0ec39b47057ea8a64ed51f |
|
BLAKE2b-256 | 1ff317a130ac3dbeb0ff7f422b9071cd53359878ef7d84d480e8d8c9e78c6fe5 |