mirror of
https://github.com/nqrduck/nqrduck-spectrometer-limenqr.git
synced 2024-11-09 11:10:03 +00:00
Flattened data array.
This commit is contained in:
parent
4548c9b9c8
commit
e5c98cbf3a
1 changed files with 2 additions and 0 deletions
|
@ -157,6 +157,8 @@ class LimeNQRController(BaseSpectrometerController):
|
||||||
"""
|
"""
|
||||||
tdx = lime.HDF.tdx[indices] - lime.HDF.tdx[indices][0]
|
tdx = lime.HDF.tdx[indices] - lime.HDF.tdx[indices][0]
|
||||||
tdy = lime.HDF.tdy[indices] / lime.nav
|
tdy = lime.HDF.tdy[indices] / lime.nav
|
||||||
|
# flatten the tdy array
|
||||||
|
tdy = tdy.flatten()
|
||||||
return tdx, tdy
|
return tdx, tdy
|
||||||
|
|
||||||
def get_fft_shift(self):
|
def get_fft_shift(self):
|
||||||
|
|
Loading…
Reference in a new issue