Skip to main content

Package for autmatic bonding analysis with Lobster/VASP

Project description

CI Status Documentation Status PyPI version PyPI downloads Downloads DOI

LobsterPy

LobsterPy Logo which consits of a green Python and a red Lobster

This is a package that enables automatic plotting of Lobster outputs. You can download Lobster on http://www.cohp.de. Currently, only VASP/Lobster computations are supported.

Please note that LobsterPy relies on your Lobster outputs. Thus, please make sure that the outputs have enough information for our (automatic) analysis.

Installation

You can now use pip install lobsterpy to install it.

You can also pip install the package in development mode by writing pip install -e .. It will then use setup.py to install the package. One requirement of this package is pymatgen.

Basic usage

  • Automatic analysis and plotting of COHPs:

    You can use lobsterpy description for an automated analysis of COHPs for relevant cation-anion bonds or lobsterpy automatic-plot to plot the results automatically. It will evaluate all COHPs with ICOHP values down to 10% of the strongest ICOHP. You can enforce an analysis of all bonds by using lobsterpy automatic-plot --allbonds . Currently, the computed Mulliken charges will be used to determine cations and anions. If no CHARGE.lobster is available, the algorithm will fall back to the BondValence analysis from pymatgen. Please be aware that LobsterPy can only analyze bonds that have been included in the initial Lobster computation. Thus, please use the cohpgenerator within Lobster.

    It is also possible to start this automatic analysis from Python script. See "examples" for scripts.

  • Command line plotter:

    We included options to plot COHPs/COBIs/COOPs from the command line. lobsterpy plot 1 2 will plot COHPs of the first and second bond from COHPCAR.lobster. It is possible to sum or integrate the COHPs as well (--summed, --integrated). You can switch to COBIs or COOPs by using --cobis or --coops, respectively.

  • Other command line tools:

    lobsterpy create-inputs will create standard inputs based on existing POSCAR, POTCAR, INCAR files. It will allow to test for different basis sets that are available in Lobster. Currently only available for PBE_54 POTCARs.

  • Further help?

    You can get further information by using lobsterpy --help and also by typing lobsterpy description --help, lobsterpy automatic-plot --help, lobsterpy plot --help

License

Lobsterpy is released under a BSD 3-Clause "New" or "Revised" License.

How to cite?

Please cite our paper: J. George, G. Petretto, A. Naik, M. Esters, A. J. Jackson, R. Nelson, R. Dronskowski, G.-M. Rignanese, G. Hautier, ChemPlusChem, https://doi.org/10.1002/cplu.202200123. Please cite pymatgen, Lobster, and ChemEnv correctly as well.

Future plans:

  • Include automatic plotting for COBIs/COOPs
  • Include orbitals into automatic plotting

Contributions

  • Contributions and suggestions for features are also welcome. Please write an Issue to describe your potential contribution or feature request.
  • We are planning to submit a paper for the code LobstePy when more features have been added (~ end of 2022). Major contributors will of course have the chance to be co-authors.

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

lobsterpy-0.2.3.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lobsterpy-0.2.3-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

Details for the file lobsterpy-0.2.3.tar.gz.

File metadata

  • Download URL: lobsterpy-0.2.3.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for lobsterpy-0.2.3.tar.gz
Algorithm Hash digest
SHA256 4471e2396e55a8a30045b0c5e2b35d67a8cea4ef69f5f406e14051589aa89fc1
MD5 c615ebf6d38493d5d045a9bf45b4c8d7
BLAKE2b-256 6eae421132e0d2af700c5b5bb4a61c58f3a4eccccdc66191d3854f1325da1d3d

See more details on using hashes here.

File details

Details for the file lobsterpy-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: lobsterpy-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 31.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for lobsterpy-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bdc083ae9522d17cdb61ca5afb479c0bc92e5c4e24231a7d688b24900b6caa90
MD5 a1bf43de2f911d45b130177babc6d4bd
BLAKE2b-256 91414b724fdf40dc8ded1c47e81b8cbb02c2e1397e87769346a80a4bc6b18e1f

See more details on using hashes here.

Supported by

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