flaport/fdtd

How do I define a custom electromagnetic field profile as source, like the Import Source in the Lumerical FDTD?

694856790 opened this issue · 0 comments

In sources.py file, I tried to change the profile to a custom electric field distribution as you defined PlaneSource, but the polarization direction seems to have an impact on the results? Please advise if I am doing this correctly, thank you!