topoPhonon package is a python package that allows users tophononic calculate topological properties, by building phonon tight-bindingmodel.
Project description
topoPhonon
topoPhonon package is a python package that allows users to phononic calculate topological properties, by building phonon tight-binding model.
- Build tight-binding models from user's input or FORCE_CONSTANTS files or Phonopy API. The last method is much faster, but need to import Phonopy package and manually create phonopy.harmonic.dynamical_matrix.DynamicalMatrix object.
- Calculate berry phase, berry curvature, wannier charge center evolution around Weyl points from tight-binding model.
- Build slab/ribbon models for surface/edge.
- Plot 3d band surfaces.
Basic usage:
Use one line of code to build tight-binding model:
model = read_from_files(path)
where the path should contain POSCAR, SPOSCAR and FORCE_CONSTANTS files.
From the model just built, build a slab model with multi
layers along fin_dir
:
model_2d = model.cut_piece(multi, fin_dir)
model_2d = model_2d.atom_projected_band(q_path, node_names)
Create a Topology object:
tp = Topology(model)
Plot the energy surfaces of band1
and band2
and find the degenerate points on z=0 plane:
model.plot_3d_band([band1, band2], center, xy_range)
Then plot wannier charge center evolution around center
for band_indices
:
tp.wcc_evol_sphere(band_indices, center)
and the berry curvature distribution on $k_i$=kz
plane, where $k_i$ = $k_z, k_y, k_z$ if dirc
= 0, 1, 2, respectively:
tp.berry_curvature_proj(band_indices, dirc, kz)
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 topoPhonon-1.0.3.tar.gz
.
File metadata
- Download URL: topoPhonon-1.0.3.tar.gz
- Upload date:
- Size: 34.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbc07b2fe08e6c02a21ada786ebc2daad1f7c4e1de88a84203547f8d37f76656 |
|
MD5 | d2bb4b90bcee25e4b14186706b6ee4c6 |
|
BLAKE2b-256 | 7f69e4d0db7ea75e4644dcebef098a5ee64a70320c2e2237ad927f8a18a8fb94 |
File details
Details for the file topoPhonon-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: topoPhonon-1.0.3-py3-none-any.whl
- Upload date:
- Size: 36.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 283226eb42f8c5b149a35c9b66121a26f4e57ac7a06c91714573cab7332635c8 |
|
MD5 | 7cd0f5438878c0e7118070a162543951 |
|
BLAKE2b-256 | 589adc2058c4626f84bdc417e8fba5b7c250d5f9642ef39b44dbed53317efaa5 |