Anisotropic EME bends#462
Conversation
|
This is great! I love the convergence plot. Thanks for finding the bug and helping address it.
|
|
I wonder if there is a better way to use mode sorting / filtering to find the well-guided quasi-TE mode, which could be cleaner than just taking the max transmission |
|
Actually it would be excellent to explicitly show the permittivity tensor somewhere along the bend for both cases of |
|
Really nice verification thanks @FilipeFcp ! I don't have much to say beyond Casey's comments. Maybe no need to run 20 cells as the convergence seems pretty clear already beyond like 4.
Is PermittivityMonitor supported in some way in EME? But generally yeah I think this is a good idea, maybe take a 3-cell simulation and plot the diagonal components of the permittivity at the 3 locations. Or even plot eps_xx, eps_xy, eps_xz (first row of the tensor) to show how it becomes tensorial in the "lab" frame and just stays the same in the "co-rotating" frame. |
|
Permittivitymonitor is fully supported in eme . Or you can probably use sim.epsilon, and you even get subpixel if tidy3d-extras is installed! |
Spell Check ReportAnisotropicBendsEME.ipynb: Checked 1 notebook(s). Found spelling errors in 1 file(s). |
|
This is the results running with the new version. |
caseyflex
left a comment
There was a problem hiding this comment.
looks pretty good, a few more suggestions
- it says "store_coeffs=True, # needed to access the full S-matrix". I don't think that is true, the full s-matrix should always be stored.
- sorting by keff is not something I'm super confident in. You already do a standalone mode solve first to show the guided mode, which is good. Maybe we can show some metrics for all the modes, like the
fill_fraction_box,te_fraction,keff,neff, etc. So that we are confident in the filtering approach
|
Thanks Casey, these are good points. Is the fill factor from this new release? I didn’t find it in the documentation when I first created this notebook. It’s very handy. |
yes it's very handy! It's been around for a while. the |
Hi guys,
These are the results and a sketch of an example notebook. The final formatting and text were mainly done with Claude Code, with some guidance. I think it looks reasonable.
I think we should wait for the next API release before publishing this right? So I will remove the solver version part latter.