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

Deal with deficient Z or Y matrices in y2z() and z2y() #978

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

Vinc0110
Copy link
Collaborator

Attempt to fix #977.
Instead of giving up in case of deficient matrices, we can still try the detour via s2z(y2s(y)) or s2y(z2s(z)).

@jhillairet jhillairet added New Feature A new feature in progress Improvements Improvements of existing feature labels Nov 25, 2023
@jhillairet
Copy link
Member

OK. Should a warning be emitted as discussed in #977 ?

@Vinc0110
Copy link
Collaborator Author

It should not be necessary if the detour option works, or what do you think @zolabar?

@zolabar
Copy link

zolabar commented Nov 25, 2023

It should not be necessary if the detour option works, or what do you think @zolabar?

@Vinc0110 thank you for consulting. I personally (as for now) would appreciate a warning, because Z or Y may not exist because of physical reasons. If we still manage to get them the user should know that they may not represent the phyisics he expects.
I mean, Z or Y could be singular matrices for real.

@Vinc0110
Copy link
Collaborator Author

Done. Thank you!

@zolabar
Copy link

zolabar commented Nov 26, 2023

Done. Thank you!

Thank you!

@jhillairet jhillairet merged commit 9a18fb1 into scikit-rf:master Nov 28, 2023
12 checks passed
@jhillairet jhillairet mentioned this pull request Dec 2, 2023
@Vinc0110 Vinc0110 deleted the z2y_y2z branch January 5, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvements Improvements of existing feature Network New Feature A new feature in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Relation of Z-Parameters to Y-Parameters: To be, or not to be
3 participants