Skip to main content

Easyunfold

build docs codecov

easyunfold

Documentation: https://smtg-ucl.github.io/easyunfold/

This package is intended for obtaining the effective band structure of a supercell for a certain path of the primitive cell. It was originally based on PyVaspwfc for reading wavefunction output of VASP, and contains some code of the latter. An notable improvement is that breaking symmetry is taken accounted of by sampling additional kpoints and taking average accordingly, which was previously missing. Our goal is to make the unfolding process easier to carry out and less likely to go wrong.

For the methodology, see: https://link.aps.org/doi/10.1103/PhysRevB.85.085201

Usage

Main goal of this tool is to make the unfolding process easier. To generate a unfolded band structure, one typically needs to perform the following step:

  1. Create a primitive cell, and generate a k point path for this primitive cell.
  2. Create a supercell, and obtain its optimised structure.
  3. Generate a series of kpoints in the supercell to be calculated.
  4. Perform a band structure calculation using the supercell, and save its wave function.
  5. Run post-processing to obtain the unfolded band structure.

The supercell usually contains certain defects, or a special quasi random structure. In both cases, its symmetry is lowered when compared to the perfect primitive cell. Hence, for a given kpoint path in the primitive cell, additional kpoints may need to be sampled, and the extracted spectral weights need to be averaged in the end to obtained the effective band structure (EBS).

At the moment, only VASP calculations are supported, although in principle other PW code can be supported easily if the wavefunction can be read in.

Please see the documentation for guide and examples.

Installation

Install from pip

The package can be installed from pip

pip install easyunfold

This will also install the dependencies, if they are missing.

After installation, run easyunfold should give the following output:

Usage: easyunfold [OPTIONS] COMMAND [ARGS]...

  Tool for performing band unfolding

Options:
  --help  Show this message and exit.

Commands:
  generate  Generate the kpoints for sampling the supercell
  unfold    Perform unfolding and plotting

Install from source

A recently version of pip is needed to do this, due to the use of new style pyproject.toml configuration file. To upgrade your pip, do:

pip install -U pip

Assuming the package is in the easyunfold folder, use the following command to install:

pip install ./easyunfold

Studies using easyunfold

We'll add papers that use easyunfold to this list as they come out!

Contributors

Code Contributors: Bonan Zhu Seán Kavanagh Adair Nicolson

And those who helped in the development:

Joe Willis David O. Scanlon

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easyunfold-0.1.4.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

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

easyunfold-0.1.4-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

Details for the file easyunfold-0.1.4.tar.gz.

File metadata

  • Download URL: easyunfold-0.1.4.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for easyunfold-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5a6dd7cc4ab5985addb1f1d5f4f53f4f0b07383e410d216d087edd052cbb60c4
MD5 ddb1dcacd8baa9c28d5ae117df029511
BLAKE2b-256 6fbe2e3c727fa79ae95ce5776c6cfe3ce4300072072dfce39f2aaa8107668db6

See more details on using hashes here.

File details

Details for the file easyunfold-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: easyunfold-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 41.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for easyunfold-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 45b8574a3ebc5e225ee61f1bef5e41b0bf1e2069c071d244191548d4f590a621
MD5 3fbb5d8aa931e60160cc97f9cdbbb892
BLAKE2b-256 51f119aabae31caa7b57a1b28a5f214a3d9bf1f2473195ab7673e2de155499a4

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

0.3.10

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.0

2 files

0.1.5

2 files

This release

0.1.4 This release

2 files

0.1.3

2 files

0.1.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page