Replies: 1 comment 1 reply
-
I believe it should work the same way as oblique-waveguide sources: https://meep.readthedocs.io/en/latest/Python_Tutorials/Eigenmode_Source/#oblique-waveguides That is, you make a mode monitor that slices through your oblique waveguide in one of the cartesian (xyz) directions, and you just pass an |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am not quite sure if this is the right place to ask this, but I wouldn't know where else to go, so here I go.
I am using meep to calculate the S-Parameters of photonic components. I am doing so by following this tutorial: https://meep.readthedocs.io/en/latest/Python_Tutorials/GDSII_Import/.
This works great, however I have noticed, that the mode monitors are always oriented in Manhattan directions.
Now I have a two port device with the second (output) port facing up at a 45 degree angle. I have tried to apply the .rotate() method to the size vector of the Volume which constitutes the mp.ModeRegion. Unfortunately this didn't work and produced the following error code:
RuntimeError: meep: Could not determine normal direction for given grid_volume.
Does Meep just not have the option to have a mode Monitor face any other way than the Manhattan directions? But If it does offer such a functionality how do I use it?
Thank you in advance!
PS: Here is the code where I tried to tilt the mode monitor by 45 dgrees:
Beta Was this translation helpful? Give feedback.
All reactions