Page 1 of 1

spectral function plotting along the BZ

Posted: Tue Feb 13, 2018 6:55 am
by sitangshu
Dear Sir,

How can I plot the electron-phonon spectral function along the BZ route. This is not actually mentioned in the tutorial..... I have done already the SF analysis (yambo_ph -g g) at each k-point and for each band, however, when I am using the color map to plot, I am only able to generate the plot along the regular k-grid and not along the BZ.
Can you please let me know?

Regards,
Sitangshu

Re: spectral function plotting along the BZ

Posted: Tue Feb 13, 2018 8:53 am
by amolina
Dear Sitangshu,
we haven't included any section to explain how to plot the band structure using the spectral functions. You have several codes to make the job as gnuplot or python. But before you need to calculate the spectral functions in a path along the BZ. You can do that by changing the non self-consistent calculation of QE to calculate a band dispersion and not a regular k-grid.
Alejandro.

Re: spectral function plotting along the BZ

Posted: Tue Feb 13, 2018 9:52 am
by sitangshu
Thanks Alejandro,

I guess I understood.. This would mean I need to recalculate the electron-phonon matrix elements using the bands interpolated data instead of nscf. Right! :o

Regards,
Sitangshu

Re: spectral function plotting along the BZ

Posted: Tue Feb 13, 2018 10:35 am
by amolina
Yes, you will have to recalculate the step 04elph.in in yambopy tutorial, but this time with the k points of the path. This part is not very time consuming compared with the calculation of the step 02ph.in
Cheers,
Alejandro.

Re: spectral function plotting along the BZ

Posted: Tue Feb 13, 2018 10:46 am
by sitangshu
Thanks, Alejandro for your response.

Regards,
Sitangshu