Page 1 of 1

How to change the interpolation of the data of the exciton

Posted: Thu Feb 23, 2023 1:18 pm
by Quxiao
Dear palful:
When I try to plot the weight of exciton,I konw I could change the distance between the high kpoints.
However,I found that the interpolation function is defined in excitondb.py, and it is SKW interpolation. So how do I adjust the density of this interpolation? I see some parameters, but I am not sure which is the relevant explanation?
Looking forward to your reply!
Best wishes
Quxiao

Re: How to change the interpolation of the data of the exciton

Posted: Thu Feb 23, 2023 1:25 pm
by amolina
Dear Quxiao,

The path of kpoints for the interpolation is defined in this way (hexagonal lattice):

path = Path([ [[ 0.0, 0.0, 0.0],'$\Gamma$'],
[[ 0.5, 0.0, 0.0],'M'],
[[1./3.,1./3., 0.0],'K'],
[[ 0.0, 0.0, 0.0],'$\Gamma$']], [npoints,npoints,npoints)] )

The number of points in each segment (npoints) define the density of the interpolation. You can increase until getting the desired density.

The variable path enters in the "interpolate" function of the class YamboExcitonDB.

Best,
Alejandro.

Re: How to change the interpolation of the data of the exciton

Posted: Thu Mar 09, 2023 3:55 am
by Quxiao
Dear amolina:
Thanks a lot,it is very useful!
Best wishes!
Quxiao