New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix femwell and try to fix meow plugin #1038
Conversation
joamatab
commented
Dec 21, 2022
- fix femwell installation
- eme plugin still has some issues to simulate a taper
Codecov Report
@@ Coverage Diff @@
## main #1038 +/- ##
=======================================
Coverage 72.57% 72.57%
=======================================
Files 436 436
Lines 22543 22543
Branches 2988 2988
=======================================
Hits 16361 16361
Misses 5305 5305
Partials 877 877 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I've noticed that results have a very strong dependence on the simulation parameters (num_modes, resolution, cell_length) It helps to use negative spacing_y to make the cross_section a bit smaller, and hence require coarser grid, than what the LayerStack would give you by default. AFAIK basic EME like this needs a lot of slices to avoid spurious reflections due to "staircasing". Commercial EME software usually employ some sort of first-order interpolation scheme to avoid this and converge the results better. |
See e.g. ` c = gf.components.taper(length=10, width2=2)
|
x-axis should be cell_size from 100 nm to 1 um, and y axis transmission ** |
This is great 😊 I see, how about reduce the default cell length to 0.5? |
Sure! |
Sourcery Code Quality Report✅ Merging this PR will increase code quality in the affected files by 1.49%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |