Skip to content
Snippets Groups Projects
Commit 0f480667 authored by Merlo, Jason's avatar Merlo, Jason
Browse files

removed static frame subtraction, added multiple range-doppler colormap ranges

parent bfb2572c
No related branches found
No related tags found
No related merge requests found
......@@ -186,14 +186,17 @@ class Receiver(object):
# Calculate slow-time complex FFT
if self.datacube[-1].shape == self.datacube[-2].shape:
dc = self.datacube[-1] - self.datacube[-2]
else:
dc = self.datacube[-1]
# print('dc.shape',dc.shape)
self.fft_mat = self.compute_fft2(dc, (self.slow_fft_size, self.fast_fft_size))
self.fft_mat = self.compute_fft2(self.datacube[-1], (self.slow_fft_size, self.fast_fft_size))
# print('fft_mat.shape', self.fft_mat.shape)
# if self.datacube[-1].shape == self.datacube[-2].shape:
# if hasattr(self, 'zero_fft_mat'):
# self.fft_mat -= self.zero_fft_mat
# else:
# self.zero_fft_mat = self.fft_mat
# Power Thresholding
# if self.cfft_data[vmax_bin] < POWER_THRESHOLD:
# self.fmax = 0
......
......@@ -50,7 +50,8 @@ class RangeDopplerWidget(pg.PlotWidget):
# set colormap
self.img.setLookupTable(lut)
self.img.setLevels([-60, 30])
# self.img.setLevels([-70, 10]) # Good for drone
self.img.setLevels([-10, 20]) # Good for drone
self.rescale()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment