diff --git a/src/nqrduck_autotm/model.py b/src/nqrduck_autotm/model.py index dcad2f2..7e7b8f0 100644 --- a/src/nqrduck_autotm/model.py +++ b/src/nqrduck_autotm/model.py @@ -12,7 +12,7 @@ class S11Data: # Conversion factors - the data is generally sent and received in mV # These values are used to convert the data to dB and degrees CENTER_POINT_MAGNITUDE = 900 # mV - CENTER_POINT_PHASE = 900 # mV + CENTER_POINT_PHASE = 0 # mV MAGNITUDE_SLOPE = 30 # dB/mV PHASE_SLOPE = 10 # deg/mV diff --git a/src/nqrduck_autotm/view.py b/src/nqrduck_autotm/view.py index df9d9a7..8c15319 100644 --- a/src/nqrduck_autotm/view.py +++ b/src/nqrduck_autotm/view.py @@ -231,7 +231,7 @@ class AutoTMView(ModuleView): self.phase_ax.set_ylabel("|Phase (deg)|") self.phase_ax.plot(frequency, phase, color="orange", linestyle="--") - self.phase_ax.set_ylim(-180, 180) + self.phase_ax.set_ylim(0, 180) self.phase_ax.invert_yaxis() magnitude_ax.set_xlabel("Frequency (MHz)")