mirror of
https://github.com/nqrduck/nqrduck-spectrometer-limenqr.git
synced 2024-11-05 01:00:03 +00:00
Updated TX port.
This commit is contained in:
parent
2777e07df3
commit
13fb4d80dc
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ class LimeNQRController(BaseSpectrometerController):
|
|||
from .contrib.limr import limr
|
||||
|
||||
self_path = Path(__file__).parent
|
||||
driver_path = str(self_path / "contrib/pulseN_test_USB_TX2.cpp")
|
||||
driver_path = str(self_path / "contrib/pulseN_test_USB.cpp")
|
||||
lime = limr(driver_path)
|
||||
except ImportError as e:
|
||||
logger.error("Error while importing limr. %s", e)
|
||||
|
@ -79,13 +79,13 @@ class LimeNQRController(BaseSpectrometerController):
|
|||
|
||||
# time domain x and y data
|
||||
tdx = lime.HDF.tdx[evidx] - lime.HDF.tdx[evidx][0]
|
||||
tdy = lime.HDF.tdy[evidx] / lime.nav
|
||||
tdy = np.abs(lime.HDF.tdy[evidx] / lime.nav)
|
||||
|
||||
measurement_data = Measurement(
|
||||
tdx,
|
||||
tdy,
|
||||
self.module.model.target_frequency,
|
||||
frequency_shift=self.module.model.if_frequency,
|
||||
#frequency_shift=self.module.model.if_frequency,
|
||||
)
|
||||
|
||||
# Emit the data to the nqrduck core
|
||||
|
|
Loading…
Reference in a new issue