Skip to content

user200000/data-BaSnF4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data analysis for “Dynamic Lone Pairs and Fluoride-Ion Disorder in Cubic-BaSnF4

DOI

Authors:

Summary

This repository contains the analysis and figure-plotting workflow for the manuscript “Dynamic Lone Pairs and Fluoride-Ion Disorder in Cubic-BaSnF4” (paper).

The theoretical workflow here contains four main components: Volume, Polarisation, Sites, and Quenching, which cover all the analysis of molecular dynamics simulations presented in the main paper as well as the preparatory calculations peformed in order to obtain an appropriate cell volume. Each section consits of one to three annotated Jupyter notebooks that show how the computational analysis in the paper were generated from raw simulation data.

Rerunning this workflow requires the input AIMD trajectory files, which are not included in this repository due to a lack of space. A fully functional version is provided on the Bath University research Archive [awaiting DOI].

A fifth sub-directory (Experimental) contains the numerical data plotted in the paper. This data is provided in the form of Excel files, and an index is provided in that section's README.MD file.

Polarisation

The notebooks in Polarisation take as input a list of atomic dipoles calculated using wannier90 from snapshots taken from the length of an AIMD simulation. From these dipoles, we calculate the dipole autocorrelation function (in Autocorrelation.ipynb), dipole-orientated spatial distribution function, and orientation populations matrix (in Dipole Correlation.ipynb).

Sites

The notebooks in Sites take as input the XDATCAR and vasprun.xml trajectory files taken from the AIMD simulations. The first notebook, sites.ipynb, uses the site-analysis library to generate figures 7 and 9 in the main paper. The Density.ipynb notebook uses the revelsMD code to calculate the ion densities presented in figure 6, which are plotted in BaSnF4_F_density.ipynb.

Quenching

The notebook in Quenching takes POSCAR files from structures that have been quenched and calculates the structural graphs presented in Figure 5. This notebook also produces the two panels of Fig S4. The quenches taken from the conventional AIMD are analysed in Structural Characterisation.ipynb and the AIMD with static fluorine ions in Stuctural Characterisation Static.ipynb.

Volume

This notebook shows the method of fitting the Birch–Murnaghan equation of state to 600 K AIMD simulations of cells of different size. This method is used to get an appropriate volume for the simulated cell, and is shown in Volume Calculation.ipynb.

Experimental

This directory contains excel workbooks of numerical data plotted in the experimental figures in the paper.

Files in this directory

This directory contains two further files:

  • POTCAR_list contains a list of the pseudopotentials used for BaSnF4 in VASP.
  • environment.yml describes the Python environment used for all subsequent analysis.

About

Plotting and analytical scripts supporting: Dynamic Fluoride-Ion Disorder in Cubic-BaSnF4

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors