mirror of
https://github.com/nqrduck/nqrduck-spectrometer-limenqr.git
synced 2024-11-09 11:10:03 +00:00
Update measurement with IF frequency.
This commit is contained in:
parent
bb1cac3426
commit
e97fba4b31
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class LimeNQRController(BaseSpectrometerController):
|
||||||
evidx = self.find_evaluation_range_indices(lime, rx_begin, rx_stop)
|
evidx = self.find_evaluation_range_indices(lime, rx_begin, rx_stop)
|
||||||
tdx, tdy = self.extract_measurement_data(lime, evidx)
|
tdx, tdy = self.extract_measurement_data(lime, evidx)
|
||||||
fft_shift = self.get_fft_shift()
|
fft_shift = self.get_fft_shift()
|
||||||
return Measurement(tdx, tdy, self.module.model.target_frequency, frequency_shift=fft_shift)
|
return Measurement(tdx, tdy, self.module.model.target_frequency, frequency_shift=fft_shift, IF_frequency=self.module.model.if_frequency)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("Error processing measurement result: %s", e)
|
logger.error("Error processing measurement result: %s", e)
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in a new issue