Skip to content

mogroupumd/Topological_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Topological_Analysis

Analyze material structures

Introduction

Topological_Analysis is a Python library to analyze interstitial sites in oxides and sulfides, based on Voronoi analysis. It specifies possible interstitial sites for a given specie, including its original sites in the structure. Topological Analysis provides several Python filters for site selection and a simple executable script. The script produces several CIFs and CSV files which will show the Voronoi radius of interstitial sites and their positions. Bond valence and other information will also be included in CSV files. The Topological_Analysis only supports Python 2 environment, recommending Python 2.7. It requires pre-installed Zeo++.

Dependency

The following softwares and Python libraries are required to use Topological_Analysis: Zeo++ (http://pymatgen.org/_modules/pymatgen/io/zeopp.html#ZeoCssr)

Pymatgen(http://pymatgen.org/)

Numpy (http://www.numpy.org/)

os (https://docs.python.org/2/library/os.html)

argparse (https://docs.python.org/3/library/argparse.html)

PrettyTable (https://pypi.python.org/pypi/PrettyTable)

monty (https://materialsvirtuallab.github.io/monty/)

Installation

  1. Make sure all dependencies are installed and the executing environment is Python 2;
  2. Add the library to your Python path: $export PYTHONPATH="/your/directory/Topological_Analysis/:$PYTHONPATH";
  3. Add /Topological_Analysis/scripts/ to your PATH: $export PATH="/your/directory/Topological_Analysis/scripts/:$PATH";
  4. Run 'analyze_voronoi_nodes.py' for analysis or import filters in your Python programs.

Note: Compiling Zeo++ may require specific gcc version pre-installed, such as gcc6.

To Use the Script

The 'analyze_voronoi_nodes.py' requires 2 input files. A CIF file for input structure and a Yaml file for analysis parameters. The Yaml file specifies percolation radius and other necessary information to use Topological_Analysis. Please read the code comments for further details.

To run the script:

$python analyze_voronoi_nodes.py <cif_file> -i <yaml_file>

You may run -h to the script to read other documentations. An example Yaml parameter file (only list all usable parameters, example.yaml) and an executable input Yaml file (inputs.yaml for oxides) are included in script directory as well.

Example

Here, we will use LGPS (188887.cif) and Li2S (60432.cif) as examples. Input Yaml file (input) To analyze LGPS (188887.cif), simply execute:

$cd /your/directory/Topological_Analysis/examples/

$python analyze_voronoi_nodes.py 188887.cif -i inputs.yaml

Note: the input CIF file may contain disordered cation sites. Analysis codes in current version will replace the disordered cation sites with lowest radius cation ions. However, the output structure will preserve the original disordered sites. Please refer to the analysis comments for more information.

To use the VMD command lines, simply copy and paste the command line file contents to VMD terminal.

Citing the Topological_Analysis

If you use the Topological_Analysis extensively, you may want to cite the original publication: Xingfeng He1, Qiang Bai1, Yunsheng Liu, Adelaide M. Nolan, Chen Ling, Yifei Mo*, “Crystal Structural Framework of Lithium Super-Ionic Conductors”, Advanced Energy Materials 9, 1902078 (2019) https://doi.org/10.1002/aenm.201902078

About

Topological analysis for Li local space, site, pathway in crystal structures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages