Exciton weights

Post here any question you encounter when running the scripts of the yambo-py suite. Post here problem strictly to the python interface as problem coming from the yambo runs should go in the appropriate subforum.

Moderators: palful, amolina, mbonacci

Post Reply
sdwang
Posts: 295
Joined: Fri Apr 09, 2010 12:30 pm

Exciton weights

Post by sdwang » Fri Sep 13, 2024 11:33 am

Dear all,
I used yambopy to plot the exciton weights on the bands, and the weights seems very small as attached.
The script related to the exciton weifghts as:
...
## [3.B] Interpolate the values
if Bands_Plot_Interpolate:
fig = plt.figure(figsize=(4,6))
ax = fig.add_axes( [ 0.15, 0.15, 0.80, 0.80 ])
# In case of problems with the interpolation, try to increase lpratio
exc_on_bands = yexc.interpolate(yel,path,states,lpratio=20,f=None,size=1.0,verbose=True)
exc_on_bands.plot_ax(ax,color_bands='grey',c_weights='red',alpha_weights=1.0)
I increased 'size' but it does not work. If I reduced lpratio, the weights are bigger, but the bands are crossed heavily.
How to solve the problem?
Thanks!
SD
You do not have the required permissions to view the files attached to this post.
S. D. Wang
IMU,HOHHOT,CHINA
E-mail: sdwang@imu.edu.cn

Post Reply