make the secondary fft run faster again
This commit is contained in:
		| @@ -320,10 +320,10 @@ class dsp(object): | |||||||
|         self.restart() |         self.restart() | ||||||
|  |  | ||||||
|     def secondary_fft_block_size(self): |     def secondary_fft_block_size(self): | ||||||
|  |         base = (self.samp_rate / self.decimation) / (self.fft_fps * 2) | ||||||
|         if self.fft_averages == 0: |         if self.fft_averages == 0: | ||||||
|             return (self.samp_rate / self.decimation) / self.fft_fps |             return base | ||||||
|         else: |         return base / self.fft_averages | ||||||
|             return (self.samp_rate / self.decimation) / self.fft_fps / self.fft_averages |  | ||||||
|  |  | ||||||
|     def secondary_decimation(self): |     def secondary_decimation(self): | ||||||
|         return 1  # currently unused |         return 1  # currently unused | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jakob Ketterl
					Jakob Ketterl