Template Function utilities::fft_next_good_size

Function Documentation

template <typename T>
T utilities::fft_next_good_size(const T n)

Find the next good size for an fft, to pad with minimal number of zeros.

Return
M Length to pad the signal to, for optimal FFT performance
Parameters
  • N: Length of a signal