You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to plot DOS+BANDS from my GSR file, and i give in pycharm this error:
ValueError: Kpoint weights should sum up to one while sum_weights is 0.000
The list of kpoints does not represent a homogeneous sampling of the BZ
<class 'abipy.core.kpoints.Kpath'>
K-path contains 3 lines. Number of k-points in each line: [11, 13, 17]
The text was updated successfully, but these errors were encountered:
To compute a DOS, you need to evaluate an 3d integral in the BZ.
In your case, you ebands object contains k-points along a high-symmetry path.
You can plot a band structure along the k-path by calling ebands.plot() but it's not possible to obtain the DOS from the same ebands object.
To get the DOS, you need a second ebands object with energies in the IBZ.
You can obtain this ebands_kmesh from the GSR.nc file produced by the GS run.
I try to plot DOS+BANDS from my GSR file, and i give in pycharm this error:
ValueError: Kpoint weights should sum up to one while sum_weights is 0.000
![Снимок экрана 2021-04-20 в 00 17 20](https://user-images.githubusercontent.com/21140900/115304612-cc897600-a16d-11eb-8e5e-07f02da7a0e3.png)
The list of kpoints does not represent a homogeneous sampling of the BZ
<class 'abipy.core.kpoints.Kpath'>
K-path contains 3 lines. Number of k-points in each line: [11, 13, 17]
The text was updated successfully, but these errors were encountered: