Don't pre-conjugate e_overlap

This commit is contained in:
jan 2019-09-05 22:41:34 +02:00
parent f04c0daf28
commit bedec489aa

View File

@ -220,7 +220,7 @@ def compute_overlap_e(E: field_t,
Etgt[slices2] = Ee[slices2] Etgt[slices2] = Ee[slices2]
Etgt /= (Etgt.conj() * Etgt).sum() Etgt /= (Etgt.conj() * Etgt).sum()
return Etgt.conj() return Etgt
def solve_waveguide_mode_cylindrical(mode_number: int, def solve_waveguide_mode_cylindrical(mode_number: int,