-
Notifications
You must be signed in to change notification settings - Fork 48
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
More options in DispersionFitter and fit constant loss tangent model #1652
Conversation
One more comment: now that fitter is fast and stable, should we move material fitter from plugin to tidy3d components, so that we can do |
6979bfe
to
d2cfb5e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation looks good to me!
Don't forget mention this in the changelog btw
We can consider that, but we still need to support the plugin for backwards compatibility. So I guess is there a big advantage to moving it? |
We can leave a wrapper in the plugin for compatibility, similar to how we move complex polyslab from plugin to components: tidy3d/tidy3d/plugins/polyslab/polyslab.py Lines 3 to 8 in 14dcf5b
|
I see, if you find this would improve usability, feel free to change it. But at the same time, I'm fine with the way things are now too. Up to you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, excited to try some new applications.
d2cfb5e
to
7a56dd8
Compare
@tylerflex any more comments? |
no, looks good to me |
0514f40
to
56f6f65
Compare
Addressing #1293 and use FastFitter to fit constant loss tangent material.
I'm not sure about the best way to implement #1293; currently it's using classmethod to load from complex permittivity and loss tangent, while we still only support wavelength but not frequency.