Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion yambopy/bse/excitondipoles.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def exc_dipoles_pol(lattice_path,dipoles_path=None,bse_path=None,save_files=True
# Since we have dipoles for emission, we do not conjugate BS_wfc
# Then the results are directly the exciton dipoles for emission
dip_exc = np.einsum('nkcv,kicv->in',BS_wfc,dip_expanded,
optimize=True).astype(dtype=dipoles.dtype)
optimize=True).astype(dtype=dipoles.dtype)/np.sqrt(yexc.nkpoints)

if save_files:
if dip_file[-4:]!='.npy': dip_file = dip_file+'.npy'
Expand Down
1 change: 0 additions & 1 deletion yambopy/dbs/excitondb.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ def real_wf_to_cube(self, iexe, wfdb, fixed_postion=[0,0,0], supercell=[1,1,1],
excQpt = self.car_qpoint
# Convert the q-point to crystal coordinates
Qpt = wfdb.ydb.lat @ excQpt
print("Qpt: ",Qpt)
#
if fix_particle == 'h': name_file = 'electron'
else: name_file = 'hole'
Expand Down