diff --git a/projects/sdr_transceiver_wspr/app/decode-wspr.sh b/projects/sdr_transceiver_wspr/app/decode-wspr.sh index df4c6c45f..8973777fe 100755 --- a/projects/sdr_transceiver_wspr/app/decode-wspr.sh +++ b/projects/sdr_transceiver_wspr/app/decode-wspr.sh @@ -4,7 +4,7 @@ CALL= GRID= -JOBS=2 +JOBS=4 NICE=10 DIR=`readlink -f $0` diff --git a/projects/vna/client/vna.py b/projects/vna/client/vna.py index aaf84ac13..097450281 100644 --- a/projects/vna/client/vna.py +++ b/projects/vna/client/vna.py @@ -234,9 +234,9 @@ def move_marker(self, index, event): def release_marker(self, index, event): self.cursorPressed[index] = False - def xlim(self): - start = self.dut.freq[0] - stop = self.dut.freq[-1] + def xlim(self, freq): + start = freq[0] + stop = freq[-1] min = np.minimum(start, stop) max = np.maximum(start, stop) margin = (max - min) / 50 @@ -268,7 +268,7 @@ def plot_curves(self, freq, data1, label1, limit1, data2, label2, limit2): axes1.xaxis.grid() axes1.set_xlabel('kHz') axes1.set_ylabel(label1) - xlim = self.xlim() + xlim = self.xlim(freq) axes1.set_xlim(xlim) if limit1 is not None: axes1.set_ylim(limit1) self.curve1, = axes1.plot(freq, data1, color = 'blue', label = label1)