MD analysis using site occupation trajectories
Project description
site-analysis
site-analysis
is a Python module for analysing molecular dynamics simulations of solid-state ion transport, by assigning positions of mobile ions to specific “sites” within the host structure.
The code is built on top of pymatgen
and takes VASP XDATCAR files as molecular dynamics trajectory inputs.
The code can use the following definitions for assigning mobile ions to sites:
- Spherical cutoff: Atoms occupy a site if they lie within a spherical cutoff from a fixed position.
- Voronoi decomposition: Atoms are assigned to sites based on a Voronoi decomposition of the lattice into discrete volumes.
- Polyhedral decomposition: Atoms are assigned to sites based on occupation of polyhedra defined by the instantaneous positions of lattice atoms.
Installation
From PyPI:
pip install site-analysis
Or clone the latest development version from GitHub and install
git clone git@github.com:bjmorgan/site-analysis.git
cd site-analysis
python setup.py install
Alternatively you can install the latest version using pip
, direct from GitHub, e.g.
pip3 install git+https://github.com/bjmorgan/site-analysis.git
Documentation
Documentation and tutorials live at Read the Docs.
Example notebooks are also available of GitHub.
Tests
Automated testing of the latest build happens here.
Manual tests can be run using
python3 -m unittest discover
The code has been tested with Python versions 3.6 and above.
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 site-analysis-0.0.2.tar.gz
.
File metadata
- Download URL: site-analysis-0.0.2.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef60fb5e457687e76bef4844371d939db7aad278cfacdd5c61898114269460b0 |
|
MD5 | 25efb44bc9f4a0639ad7f5b60c641039 |
|
BLAKE2b-256 | e54f70cc492b431bc0986975f9fe0de7515910aed755ba42b60f27b1737c3109 |
File details
Details for the file site_analysis-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: site_analysis-0.0.2-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1939e45e2d89b20552c26b1c6ace977cbf7849cef60f1ef5337601d48c41038 |
|
MD5 | 8e5c9ac441e1e7467114f4a63d6b6b5c |
|
BLAKE2b-256 | c5eb17d4a11ffec8dcc0ada90943097c2a0bd82d46501c802b9c552849cac462 |