Skip to main content

Python modules for electron-phonon models

Project description

DOI

Python modules for electron-phonon models

elphmod logo

  • el - tight-binding models from Wannier90
  • ph - mass-spring models from Quantum ESPRESSO
  • elph - electron-phonon coupling from EPW
  • elel - Coulomb interaction from VASP
  • MPI - work distribution and shared memory
  • bravais - lattices, symmetries, and interpolation
  • dispersion - diagonalization on paths and meshes
  • dos - 2D tetrahedron methods
  • diagrams - susceptibilities, self-energies, etc.
  • occupations - step and delta smearing functions
  • md - charge-density-wave dynamics using i-PI
  • eliashberg - parameters for McMillan's formula
  • plot - BZ plots, fatbands, etc.
  • misc - constants, status bars, parsing, etc.

Installation

To install the latest version of elphmod:

python3 -m pip install elphmod

Alternatively, to install the latest development version:

python3 -m pip install git+https://github.com/janberges/elphmod

elphmod can optionally be run in parallel via MPI (with shared-memory support). Using APT and pip, you can install the corresponding dependencies as follows:

sudo apt install libopenmpi-dev
python3 -m pip install mpi4py --no-binary=mpi4py

If you plan to work on elphmod itself, we recommend to download the complete repository and also install the requirements of examples and documentation:

git clone https://github.com/janberges/elphmod
python3 -m pip install -r elphmod/requirements.txt

Also consider adding the absolute paths to elphmod/elphmod and elphmod/bin to the environment variables PYTHONPATH and PATH, respectively.

Documentation

The documentation can be found at https://janberges.github.io/elphmod. It has been automatically generated from the NumPy-style docstrings in the source code using Sphinx:

cd doc
make html

Please also have a look at the examples.

Licence

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Copyright (C) 2017-2023 elphmod Developers

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

elphmod-0.18.tar.gz (117.8 kB view details)

Uploaded Source

Built Distribution

elphmod-0.18-py3-none-any.whl (117.4 kB view details)

Uploaded Python 3

File details

Details for the file elphmod-0.18.tar.gz.

File metadata

  • Download URL: elphmod-0.18.tar.gz
  • Upload date:
  • Size: 117.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for elphmod-0.18.tar.gz
Algorithm Hash digest
SHA256 b3376cd75e1e64b338fb95557f39aee2ccb465640e63744fc4b1f83c001034bc
MD5 de46db5242e05ed951d340c158c9f022
BLAKE2b-256 aee3c266819b8f6dc040bb14015821fc84c0679e07bf187ab3ee15daef385fdc

See more details on using hashes here.

Provenance

File details

Details for the file elphmod-0.18-py3-none-any.whl.

File metadata

  • Download URL: elphmod-0.18-py3-none-any.whl
  • Upload date:
  • Size: 117.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for elphmod-0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 eff0e4b72fffd4938a90b4f483600c12fa2b1c6ec5bfd2844559f0592bb32298
MD5 9784be1e3ab662eee2420e5a8aa9be0d
BLAKE2b-256 db47a296181e313ddf0966558146192809d5657fc083b3e97da07179a999aebb

See more details on using hashes here.

Provenance

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