Skip to main content

Heavy weight plotting tools for ab initio calculations

Project description

https://travis-ci.org/SMTG-UCL/sumo.svg?branch=master Documentation Status

Sumo is a Python toolkit for plotting and analysing VASP calculations. The main features include:

  1. An extensive framework for generating high-symmetry k-point paths.

  2. Plotting scripts for electronic and phonon band structures, density of states, and optical absorption.

  3. Analysis scripts to calculate band edge effective masses.

Sumo is built on pymatgen, meaning there is no effort required to read and write typical VASP files. Sumo is free to use, however, we welcome your help in improving and extending the package with your own contributions.

Warning: There are probably still some bugs. If you think you’ve find any, please report them on the Issue Tracker.

Usage

Primarily, sumo is intended to be used via the command-line, however, a fully-documented python API is also provided. A full manual, including tutorials and API documentation, is available online. Additionally, the built-in help (-h) option for each command provides a summary of the available options.

Currently the scripts provided by sumo are:

  • sumo-kgen: For generating VASP KPOINTS files along high-symmetry k-point paths.

  • sumo-bandplot: For plotting publication-ready electronic band structure diagrams.

  • sumo-dosplot: For plotting publication-ready electronic density of state diagrams.

  • sumo-optplot: For plotting publication-ready optical absorption plots.

  • sumo-phonon-bandplot: For plotting publication-ready phonon band structure diagrams.

  • sumo-bandstats: For calculating electron and hole effective masses from a band structure.

A guide to using each command can be found on the Tutorial page.

For a preview of the functionality of sumo, see the Gallery.

Installation

We recommend installation from source with Pip, this will automatically install any dependencies:

pip3 install --user sumo

To build the documentation, download the package source and install with extra dependecies:

pip3 install --user .[docs]
cd docs
make html

Developer installation

Developers may prefer to install using pip3 install --user -e . which creates an “editable” local installation. Instead of copying files, this creates links to the source folder so that that tweaks to the code in your source folder will be immediately reflected on the PATH.

Tests

To ensure the code has been installed correctly, the unittests can be run using:

python -m unittest discover tests

Requirements

Sumo is currently compatible with Python 3.5+ and relies on a number of open-source python packages, specifically:

  • Pymatgen

  • Numpy

  • Scipy

  • Matplotlib

  • Spglib

  • Phonopy

  • SeeK-path

  • H5py (optional dependency for phonon plotting features)

Sumo uses Pip and setuptools for installation. You probably already have this; if not, your GNU/Linux package manager will be able to oblige with a package named something like python-setuptools. On Max OSX the Python distributed with Homebrew. includes setuptools and Pip.

License

Sumo is made available under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sumo-1.0.4.tar.gz (52.9 kB view details)

Uploaded Source

Built Distribution

sumo-1.0.4-py2.py3-none-any.whl (74.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sumo-1.0.4.tar.gz.

File metadata

  • Download URL: sumo-1.0.4.tar.gz
  • Upload date:
  • Size: 52.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sumo-1.0.4.tar.gz
Algorithm Hash digest
SHA256 609a0321ebfae71ae5ac9db6947ce7159b2495750d85a3bcadef4d8394cda372
MD5 1558e8d8fde35a2ab0ac3431e19f6e88
BLAKE2b-256 72ed9fd4af6d670c95b1105d8e8c58f82047cb9f7ca435e9174615944e3e9974

See more details on using hashes here.

File details

Details for the file sumo-1.0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sumo-1.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 070b96287a39ac5746df02b8976067a2b502c67a44674e95b1f696b49be123d1
MD5 21226858b500b9d220d0bdd8da54c51b
BLAKE2b-256 db0a7dc3d41b9ebc69cf5e4a245a503957aebb8ca1d5e39bf17510d8460cfaa8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page