Python modules for electron-phonon models
Project description
Python modules for electron-phonon models
el
- tight-binding models from Wannier90ph
- mass-spring models from Quantum ESPRESSOelph
- electron-phonon coupling from EPWelel
- Coulomb interaction from VASPMPI
- work distribution and shared memorybravais
- lattices, symmetries, and interpolationdispersion
- diagonalization on paths and meshesdos
- 2D tetrahedron methodsdiagrams
- susceptibilities, self-energies, etc.occupations
- step and delta smearing functionseliashberg
- parameters for McMillan's formulaplot
- 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 --upgrade pip setuptools wheel
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
firefox html/index.html
Please also have a look at the examples:
cd examples
mpirun python3 electrons.py
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-2022 elphmod Developers
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file elphmod-0.15.tar.gz
.
File metadata
- Download URL: elphmod-0.15.tar.gz
- Upload date:
- Size: 105.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c66d3b5ba145211c1bfe7df3da2954e19f81285fa7748a3ada7bb5f01631774a |
|
MD5 | 501a6594079adc64b9954999038e8984 |
|
BLAKE2b-256 | fdd31061ec5605c5b131da24a3e9635cd1bf0f63ea47ff197496762b3f9fbcfa |
Provenance
File details
Details for the file elphmod-0.15-py3-none-any.whl
.
File metadata
- Download URL: elphmod-0.15-py3-none-any.whl
- Upload date:
- Size: 105.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c06e09d0f6f9ac162c57dbf6be5687881375d36f8b1c9edb71aad2cf34263831 |
|
MD5 | 64e17a239b1f9d2a90b7957e5f7a6fd2 |
|
BLAKE2b-256 | 78ed77a8d3f9b10c15bb120516b6b27a1e192f8dfbd885e2368acd8d4b52de66 |