ploting exciton weights on band structure

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
Ponnappa
Posts: 20
Joined: Sat Sep 07, 2024 7:26 pm

ploting exciton weights on band structure

Post by Ponnappa » Tue Jan 07, 2025 5:44 pm

Dear Developers,
I am trying to plot the first bright excitons on the band structure. But the excitons are barely visible on the bands. Is there any method where I can increase the colour of the excitons in the plot (I have tried varying alpha_weights and other parameters), or are there any reasons for them to be so light? The second bright exciton is much more difficult to find in the plot. I have attached the plot obtained for the first bright excitonic state. Any suggestions would be greatly appreciated.
plot1.png
Regards,
Ponnappa K. P.
You do not have the required permissions to view the files attached to this post.
Ponnappa K. P.
Phd Student
Harish Chadra Research Institute, India

User avatar
palful
Posts: 97
Joined: Tue Jan 26, 2016 11:23 am
Location: Modena and Milan

Re: ploting exciton weights on band structure

Post by palful » Tue Jan 07, 2025 6:46 pm

Dear Ponnappa,

When you call the plotting function, such as

Code: Select all

exc_on_bands.plot_ax(ax,c_bands='grey',c_weights='red',size=1.,alpha_weights=0.5)
You should be able to control the color of the excitonic weights with "c_weights" and their size with "size": do you confirm that by changing the value of these arguments nothing happens?

(Here "exc_on_bands" is the object returned by the interpolating or band structure functions as in the tutorial script at tutorial/databases_yambopy/exc_kspace_plot.py.)

Best,
Fulvio
Dr. Fulvio Paleari
S3-CNR Institute of Nanoscience and MaX Center
Modena, Italy

Ponnappa
Posts: 20
Joined: Sat Sep 07, 2024 7:26 pm

Re: ploting exciton weights on band structure

Post by Ponnappa » Wed Jan 08, 2025 4:44 am

Dear Palful,
Thank you for the response, which helped in sorting the issue.

Regards,
Ponnappa K. P.
Ponnappa K. P.
Phd Student
Harish Chadra Research Institute, India

Post Reply