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.83.tar.gz
.
File metadata
- Download URL: xdatbus-0.0.83.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 | 634100d837e8f197f60ddc7ca3be0c0bf712ba86785cb131402b2bed00dc14f7 |
|
MD5 | 1ae4c9cc98b56f7373854f38c87cf120 |
|
BLAKE2b-256 | 58733fec3d4832b1fdd4f2c0affe3ebed6ab8ec83e7c3f68ebf7b0869f7bb7c4 |
File details
Details for the file xdatbus-0.0.83-py3-none-any.whl
.
File metadata
- Download URL: xdatbus-0.0.83-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 | 9df1fec7e740da6d75b67992b78dc04190112ccffa8c2c0fdec887ce88b3aaab |
|
MD5 | 2ad7b5d033e6b9de32e32505f45f4371 |
|
BLAKE2b-256 | 7860e408e3657c2ed6d4cc668966c8a61d8aba7bacc249ec84261a816c40cdaa |