GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - WMD-group/MacroDensity: Python package to analyse electron density & electrostatic potential grids

BranchesTags
Open more actions menu

Latest commit

 

History

585 Commits
585 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
JOSSpaper
JOSSpaper
 
 
docs
docs
 
 
macrodensity
macrodensity
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.readthedocs.yaml
.readthedocs.yaml
 
 
CHANGELOG.rst
CHANGELOG.rst
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 

Repository files navigation

Welcome to MacroDensity

MacroDensity is a Python package to post-process electrostatic potential and electron density files from electronic structure calculations and plot in a number of ways, including:

  1. Planar average
  2. Spherical average
  3. Atom centred average

Statement of Need

To assess the potential utility of novel semiconducting devices (like p-n junctions, heterostructures, surface terminations), it is key to understand how the electrostatic potential and electron density change across the system. However, extraction and useful presentation of this data from the raw output of the simulation can prove cumbersome and often requires the use of visualisation software followed by manual data extraction. This can result in bottlenecks in high throughput screening projects, where the same data extraction procedure is repeatedly applied to large databases of candidate structures.

To address this, the Macrodensity package has been developed to post-process the output of ab-initio codes like VASP, FHI-AIMS and GULP. The package contains functions that enable the user to format the data from the VASP LOCPOT and CHGCAR files, the FHI-AIMS *.cube file, and GULP *.out file into physically meaningful quantities, which can then be plotted for user interpretation.

Installation

User installation

Macrodensity can be installed using pip:

pip install macrodensity

Developer installation

For development of MacroDensity, you can install a copy of the package from the source directory:

git clone https://github.com/WMD-group/MacroDensity.git
cd MacroDensity
pip install -e .

Literature

For more information on the theory behind the package, please see the following references:

  • General Approach: Butler, K. T., Hendon, C. H., & Walsh, A. Electronic chemical potentials of porous Metal–Organic frameworks. Journal of the American Chemical Society, 136(7), 2703–2706, 2014
  • Theoretical Background:
    • Politzer, P., & Murray, J. S. The fundamental nature and role of the electrostatic potential in atoms and molecules. Theoretical Chemistry Accounts, 108(3), 134–142, 2002
    • Peressi, M., Binggeli, N. & Baldereschi, A. Band engineering at interfaces: theory and numerical experiments. Journal of Physics D: Applied Physics,31(11), 1273, 1998
  • Application to MOFs:
    • Butler, K. T., Hendon, C. H. & Aron Walsh, A. Electronic Chemical Potentials of Porous Metal–Organic Frameworks. Journal of the American Chemical Society, 136(7), 2703–2706, 2014

Contributing

Bugs reports, feature requests and questions

Please use the Issue Tracker to report bugs or request new features.

Contributions to extend this package are very welcome! Please use the Fork and Pull workflow to do so and follow the PEP8 style guidelines.

Tests

Unit tests are in the tests directory and can be run from the top directory using unittest. Automatic testing is run on the master and develop branches using Github Actions. Please run tests and add new tests for any new features whenever submitting pull requests.

License and citation

MacroDensity is made available under the MIT License.

If you use it in your research, please cite:

  • Method: Harnett-Caulfield, L., & Walsh, A. Journal of Chemical Physics 2021

About

Python package to analyse electron density & electrostatic potential grids

macrodensity.readthedocs.io

Topics

charge-densitydensity-functional-theoryelectrostatic-potentialionisation-potentialsemiconductor-physicsvaspworkfunction

Resources

Readme
MIT license
Activity
Custom properties

Stars

92 stars

Watchers

7 watching

Forks

43 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.