calibrated measurements look a little funky
This commit is contained in:
parent
7e0df9e643
commit
ec010af947
|
@ -327,11 +327,11 @@ plt.show()
|
|||
cal_frequency = np.linspace(70e6, 600e6, 101)
|
||||
ideal_cal_frequency = rf.Frequency(np.min(cal_frequency), np.max(cal_frequency), len(cal_frequency))
|
||||
input("Connect SHORT and press ENTER...")
|
||||
short = vna_capture(frequency=cal_frequency)
|
||||
short = sdr.vna_capture(frequency=cal_frequency)
|
||||
input("Connect OPEN and press ENTER...")
|
||||
open = vna_capture(frequency=cal_frequency)
|
||||
open = sdr.vna_capture(frequency=cal_frequency)
|
||||
input("Connect LOAD and press ENTER...")
|
||||
load = vna_capture(frequency=cal_frequency)
|
||||
load = sdr.vna_capture(frequency=cal_frequency)
|
||||
|
||||
short_net = s2net(short)
|
||||
open_net = s2net(open)
|
||||
|
@ -345,7 +345,7 @@ calibration = rf.calibration.OnePort(
|
|||
|
||||
|
||||
# %%
|
||||
s = vna_capture(frequency=cal_frequency)
|
||||
s = sdr.vna_capture(frequency=cal_frequency)
|
||||
|
||||
# %%
|
||||
s_calibrated = calibration.apply_cal(s2net(s))
|
||||
|
|
Loading…
Reference in New Issue
Block a user