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 analysis of ab initio calculation data. 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 diagrams.

  3. Analysis scripts to calculate parabolic and non-parabolic band effective masses.

The code currently only supports VASP calculations, however, we plan to add support for additional codes in future releases.

Sumo is free to use, however, we ask that you cite the code if you use it in your research.

Warning: There are probably still some bugs. If you think you’ve found one, please report it on the Issue Tracker. We welcome your help in improving and extending the package with your own contributions.

Usage

Sumo is intended to be used via the command-line, however, a fully-documented python API is also provided. A 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 states diagrams.

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

  • 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 (from the root directory of the project) 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:

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.7.tar.gz (55.8 kB view details)

Uploaded Source

Built Distribution

sumo-1.0.7-py2.py3-none-any.whl (77.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for sumo-1.0.7.tar.gz
Algorithm Hash digest
SHA256 407ca339e8a61d5dbf5ceb5e9a4cfd5b972c79eca00d659ed5e69c4293606252
MD5 24e19a1daed0332b848f4b5ecaafb661
BLAKE2b-256 56ecb1f8d0602207c657645fba6e7cb33a1ea0e0ce7a83040ee87e64e024bddc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sumo-1.0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2e8eabfdb0f97f3961e16cb0a367526a7cba29a83a83a8af52698a86ec376149
MD5 0cc07521140882731a43c6ee64e85841
BLAKE2b-256 1815df41e688a32a95aff46d6a2db9bca52a7754acecb53e95fc774cb7b7b1a8

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