jarvis.io.phonopy.fcmat2hr

Module to get Wannier TB format for Force-constants.

Module Contents

Functions

get_phonon_hr(fcmat, smallest_vectors, mass, multi, ...)

Get phonon-TB Hamiltonian similar to wannier90_hr.dat.

jarvis.io.phonopy.fcmat2hr.get_phonon_hr(fcmat, smallest_vectors, mass, multi, super_pos, p2s_map, s2p_map, num_satom, num_patom, out_file)[source]

Get phonon-TB Hamiltonian similar to wannier90_hr.dat.

Its build by FORCE_CONSTANTS num_satom: number of atoms in super cell num_patom: number of atoms in primitive cell fcmat: force constansts num_satom*num_satom*3*3 Forked from WannierTools package, please cite it along with jarvis-tools f you use this part of the code.