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

Add test for input networks of OnePort calibration #844

Merged
merged 3 commits into from
Feb 14, 2023

Conversation

eendebakpt
Copy link
Contributor

If for a OnePort calibration by accident the standards are entered as [two_port_reflect(short, short), two_port_reflect(open, open), two_port_reflect(load, load)] the calibration succeeds, but it cannot be applied (error: LinAlgError: Singular matrix).
Also expressions like calibration.coefs_ntwks['reflection tracking'].plot_s_db() fail.

This PR adds a check on the input networks and a test.

Copy link
Member

@jhillairet jhillairet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jhillairet jhillairet merged commit 466cb6e into scikit-rf:master Feb 14, 2023
@jhillairet jhillairet mentioned this pull request Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants