Modules to handle electron-phonon models
Project description
This is a collection of Python modules to handle 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, color models, and fatbandsmisc
- status bars etc.
Installation
To install the latest version of elphmod in a virtual environment:
python3 -m venv venv
source venv/bin/activate
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) 2021 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.6.tar.gz
.
File metadata
- Download URL: elphmod-0.6.tar.gz
- Upload date:
- Size: 82.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62691ef230bfa8acb88e4328aaaf7fd4c6e5b5249e49c6b63d6837b25487c403 |
|
MD5 | e0bc5e0e2d0dee507afe021d09f609f8 |
|
BLAKE2b-256 | eddfb8baee59b793cb861173c4e134d7cad369168ba4f4f8c7d5005b69dba04e |
Provenance
File details
Details for the file elphmod-0.6-py3-none-any.whl
.
File metadata
- Download URL: elphmod-0.6-py3-none-any.whl
- Upload date:
- Size: 89.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 700279f0e450a74babac71e0c4ef459b5b45145c674d259e06668aa66bed1bab |
|
MD5 | 485a1b4b4c86ef5ff65339feb7d9b49e |
|
BLAKE2b-256 | 074d10ca96a91fbecb39ce18cbe2fce93248f7509884fb0f8d15cb095a706dbc |