How to view db.kindx or how to know the k sampling?
Posted: Sun Dec 05, 2010 6:10 am
Dear friends,
(1) After running a BS calculation, I tried to decompose the excitons to KS e-h pairs. But when I analyze the o.exc_weights_at_* file, I do not know the exact value of the k-point under the following line refers to. (Based on the next question, I am not sure if Yambo uses the exact k-points of the KSS file; Meanwhile, when I plot the electron density of KS band by using "ypp -s w" and compare it with that from Abinit, I find Yambo roate the axis by a certain angle).
"Band_V------Band_C------K ibz------Symm.------Weight------Energy" (empty spaces are replaced by dashes)
So I hope to read the SAVE/db.kindx (I did not employ netCDF before). Could you enlighten me how to fullfill this? Maybe we can do some simple calculation which can export all the k-points? Or someone knows the file format and has a tool to read it?
(2) By the way, in the same o.exc_weights_at_* file, I found some k-points under the following line are not included in the KSS file, which the BS calculation is based on. Actually these kpoints are two times denser in each axis than that in the KSS file. Does Yambo do the BS calculation this way, or I misunderstood something?
"#-----------K-point [iku]-----------Weight" (empty spaces are replaced by dashes)
Thanks very much for your help.
(1) After running a BS calculation, I tried to decompose the excitons to KS e-h pairs. But when I analyze the o.exc_weights_at_* file, I do not know the exact value of the k-point under the following line refers to. (Based on the next question, I am not sure if Yambo uses the exact k-points of the KSS file; Meanwhile, when I plot the electron density of KS band by using "ypp -s w" and compare it with that from Abinit, I find Yambo roate the axis by a certain angle).
"Band_V------Band_C------K ibz------Symm.------Weight------Energy" (empty spaces are replaced by dashes)
So I hope to read the SAVE/db.kindx (I did not employ netCDF before). Could you enlighten me how to fullfill this? Maybe we can do some simple calculation which can export all the k-points? Or someone knows the file format and has a tool to read it?
(2) By the way, in the same o.exc_weights_at_* file, I found some k-points under the following line are not included in the KSS file, which the BS calculation is based on. Actually these kpoints are two times denser in each axis than that in the KSS file. Does Yambo do the BS calculation this way, or I misunderstood something?
"#-----------K-point [iku]-----------Weight" (empty spaces are replaced by dashes)
Thanks very much for your help.