nanovna-v2 / NanoVNA2-firmware

Firmware for NanoVNA V2
https://nanorfe.com/nanovna-v2.html
215 stars 85 forks source link

Use more compact FFT table #36

Closed DiSlord closed 4 years ago

DiSlord commented 4 years ago

Made FFT optimization

Add 2 variants 256 and 512 FFT (defined by FFT_SIZE from common.hpp) Not need use 512 FFT for 201 points, possibly use 256 FFT no any depend from lowpass for data size (offset and window_size), only float w = kaiser_window(i + offset, window_size, beta);