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

Handle non-zero length thru in TRL #896

Merged
merged 3 commits into from
Apr 19, 2023
Merged

Conversation

Ttl
Copy link
Collaborator

@Ttl Ttl commented Apr 15, 2023

Fixes #889.

When gives non-zero length thru calibrate at thru center.

skrf/calibration/calibration.py Outdated Show resolved Hide resolved
skrf/calibration/calibration.py Outdated Show resolved Hide resolved
skrf/calibration/calibration.py Outdated Show resolved Hide resolved
ideals[k] = ideals[k].copy()
# De-embed original thru
ideals[k].s[:,0,1] /= orig_ideal_thru.s[:,0,1]
ideals[k].s[:,1,0] /= orig_ideal_thru.s[:,1,0]
Copy link
Collaborator

Choose a reason for hiding this comment

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

OK, the length is subtracted here, without touching the original variable.

@jhillairet jhillairet merged commit 150a94b into scikit-rf:master Apr 19, 2023
11 checks passed
@jhillairet jhillairet mentioned this pull request May 6, 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.

TRL calibration fails with ideals argument
4 participants