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

Make SOLT class inherit run method from TwelveTermModel to allow arbitrary thrus #990

Merged
merged 4 commits into from
Dec 21, 2023
Merged

Make SOLT class inherit run method from TwelveTermModel to allow arbitrary thrus #990

merged 4 commits into from
Dec 21, 2023

Conversation

floschl
Copy link
Contributor

@floschl floschl commented Dec 19, 2023

This is a follow-up PR from this PR #983

To date, SOLT class does only accept flush thrus. This a modification to make SOLT class inherit run method from TwelveTermModel to allow arbitrary thrus, as discussed in #983 .

Docstrings were also adjusted.

]

measured = [ self.measure(k) for k in actuals]
measured = [ self.measure(k) for k in ideals]
Copy link
Collaborator

Choose a reason for hiding this comment

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

This test previously tested that without specifying an ideal thru a flush thru is assumed. There isn't now a test for it and it's now the only difference between SOLT and TwelveTerm. I think this could be reverted. In MultiportSOLTTest it should be possible to replace thru withwg.line though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

SOLTTest now tests again a flush thru if no ideal thru is given. MultiportSOLTTest tests against non-flush thru mismatchlinemismatch

Copy link
Member

Choose a reason for hiding this comment

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

great!

… is given, make MultiportSOLTTest to test against non-flush thru
@jhillairet jhillairet merged commit b61b645 into scikit-rf:master Dec 21, 2023
12 checks passed
@jhillairet
Copy link
Member

Thank you @floschl !

@floschl
Copy link
Contributor Author

floschl commented Dec 22, 2023

You are welcome! Keep your great work up!

@jhillairet jhillairet mentioned this pull request Jan 22, 2024
@floschl floschl deleted the solt_arbitrary_thru branch January 31, 2024 09:41
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

4 participants