Page 1 of 1

ploting exciton weights on band structure

Posted: Tue Jan 07, 2025 5:44 pm
by Ponnappa
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.

Re: ploting exciton weights on band structure

Posted: Tue Jan 07, 2025 6:46 pm
by palful
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

Re: ploting exciton weights on band structure

Posted: Wed Jan 08, 2025 4:44 am
by Ponnappa
Dear Palful,
Thank you for the response, which helped in sorting the issue.

Regards,
Ponnappa K. P.