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

Circuit update networks #3

Merged
merged 3 commits into from
Jan 3, 2025
Merged

Circuit update networks #3

merged 3 commits into from
Jan 3, 2025

Conversation

jhillairet
Copy link
Owner

Use update_networks instead of recreating the full Circuit. Requires scikit-rf>=1.3.0

- add _capacitors
- use Circuit.update_networks instead of rebuilding the full circuit

before update: 324586.09ms for 20 vacuum matching iterations
after update: 305841.10ms for 20 vacuum matching iterations
so a gain of around 10% speed-up.
@jhillairet jhillairet merged commit 44fbca2 into master Jan 3, 2025
5 checks passed
@jhillairet jhillairet deleted the circuit_update_networks branch January 3, 2025 18:48
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.

1 participant