diff options
Diffstat (limited to 'gui/dpd/Capture.py')
-rw-r--r-- | gui/dpd/Capture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/dpd/Capture.py b/gui/dpd/Capture.py index 4c0e99c..3b2988b 100644 --- a/gui/dpd/Capture.py +++ b/gui/dpd/Capture.py @@ -172,7 +172,7 @@ class Capture: rxframe = rxframe * self.rx_normalisation txframe_aligned, rxframe_aligned, coarse_offset = align_samples(txframe, rxframe) - return tx_ts, tx_median, rx_ts, rx_median, coarse_offset, correlation_coefficient(txframe_aligned, rxframe_aligned) + return tx_ts, tx_median, rx_ts, rx_median, np.abs(coarse_offset), correlation_coefficient(txframe_aligned, rxframe_aligned) def get_samples(self): """Connect to ODR-DabMod, retrieve TX and RX samples, load |