Don't pre-conjugate e_overlap
This commit is contained in:
parent
f04c0daf28
commit
bedec489aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue