Skip to content
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

Error if any frequencies are smaller than 1e5 Hz #1284

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

momchil-flex
Copy link
Collaborator

@momchil-flex momchil-flex commented Dec 4, 2023

The basic change is very simple: previously, we only validated that ModeSolver.freqs are larger than 1e5. Now we also do it for monitor frequencies, and source central frequency.

However, this required quite a bit of tests changes since we were using frequencies of order 1 often. It's probably anyway better to fix this in tests too though...

I also removed all 1.x simulations that the updater was checking for. Some of the earlier ones had freqs of order 1 too. And in general, I don't think we still need to check compatibility with Tidy3D v1.

Copy link
Collaborator

@tylerflex tylerflex left a 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, thanks

@momchil-flex momchil-flex merged commit 914790f into pre/2.5 Dec 6, 2023
14 checks passed
@momchil-flex momchil-flex deleted the momchil/validators branch December 6, 2023 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants