Unit ambiguity in elphondb.py
Posted: Sat Sep 07, 2024 8:05 am
Dear guys,
Can you please check the probable unit ambiguity in the line 214-215 of the module elphondb.py for plotting the elph gkkp elements. The line is:
The issue is that the plot of intravalley gkkp for MoS2 monolayer we obtained for TA branch, seems fine when compared to PRB 87, 115418 (2013), but the numeric values are wrong.
Upon inspection, we found that the term g[iq,:,inu,:,:] should be in Hartree.
Therefore, the elements dvscf[iq,:,inu,:,:] should be in Ha/angstrom. But, I cant find the units of dvscf[iq,:,inu,:,:].
I can see only the denominator scaling factor which is in sqrt(Hartree).
Should it be this:
Addidtionally the q_x and q_y values seems not to be in 2pi/a.
Can you please assist us?
Regards,
Sitangshu
Can you please check the probable unit ambiguity in the line 214-215 of the module elphondb.py for plotting the elph gkkp elements. The line is:
Code: Select all
ph_E = self.ph_energies[iq,inu]/ha2ev # Put back the energies in Hartree units
g[iq,:,inu,:,:] = dvscf[iq,:,inu,:,:]/np.sqrt(2.*ph_E)
Upon inspection, we found that the term g[iq,:,inu,:,:] should be in Hartree.
Therefore, the elements dvscf[iq,:,inu,:,:] should be in Ha/angstrom. But, I cant find the units of dvscf[iq,:,inu,:,:].
I can see only the denominator scaling factor which is in sqrt(Hartree).
Should it be this:
Code: Select all
g[iq,:,inu,:,:] = self.alat*(dvscf[iq,:,inu,:,:]/np.sqrt(2.*ph_E))*(ha2eV)**(3/2)/(2*np.pi)
Can you please assist us?
Regards,
Sitangshu