Error when trying to plot the band structure using cmap on systems with SOC.
Posted: Tue Oct 01, 2024 10:44 pm
When trying to plot a projected band with SOC defining selected_orbitals and selected_orbitals_2 I am encountering the following error:
Traceback (most recent call last):
File "/home/renan/work/mose2-wsse/bands/new.py", line 59, in <module>
band.plot_eigen(ax,path_kpoints=path_kpoints,cmap='viridis',selected_orbitals=s,selected_orbitals_2=p)
File "/home/renan/miniconda3/envs/yambopy/lib/python3.12/site-packages/qepy/projwfcxml.py", line 235, in plot_eigen
j = state[ib]['j']
~~~~~^^^^
IndexError: list index out of range
PS: It is worth mentioning that using only selected_orbitals the band with SOC plots normally.
Traceback (most recent call last):
File "/home/renan/work/mose2-wsse/bands/new.py", line 59, in <module>
band.plot_eigen(ax,path_kpoints=path_kpoints,cmap='viridis',selected_orbitals=s,selected_orbitals_2=p)
File "/home/renan/miniconda3/envs/yambopy/lib/python3.12/site-packages/qepy/projwfcxml.py", line 235, in plot_eigen
j = state[ib]['j']
~~~~~^^^^
IndexError: list index out of range
PS: It is worth mentioning that using only selected_orbitals the band with SOC plots normally.