diff --git a/charon_vna/vna.py b/charon_vna/vna.py index 0a6bcf5..beb0144 100644 --- a/charon_vna/vna.py +++ b/charon_vna/vna.py @@ -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))