Dear Shixua,
by default, the square modulus of the A_eh is reported (weight)
if you want the complex A_eh you can probably use the yamopy utility (someone else can provide helps on that),
or you need to slightly modify the source:
./ypp/excitons/excitons_amplitudes.F
112 A_weight(neh)=A_weight(neh)+BS_mat(neh,i_l)*conjg(BS_mat(neh,i_l))*dip_factor
to print the BS_mat(neh,i_l)
here i_l is the exciton index and neh is a label for the eh transition.
From the neh you can recover the corresponding valence, conduction , spin and k point index as indicated above:
Code: Select all
ikbz = BSS_eh_table(neh,1)
ikibz = Xk%sstar(ikbz,1)
iv = BSS_eh_table(neh,2)
ic = BSS_eh_table(neh,3)
i_spin= spin(BSS_eh_table(neh,:))
The yambopy option is surely the cleanest way.
Best,
Daniele