FFT is correctly calculated for dummy (DC = 1.0) data!

This commit is contained in:
2025-10-09 20:24:49 +03:00
parent eee1820bce
commit 417285990e
20 changed files with 8727 additions and 8632 deletions

View File

@ -155,6 +155,9 @@ uint32_t dataprocessor(uint32_t* AVG_buff, uint32_t AVG_buff_I_max, uint64_t* FF
}else if (mode == FFT){
//uint32_t i = 0;
//void FFT_fp(int64_t* inp, uint32_t inp_L, int64_t* buf)
for (uint32_t i = 0; i < FFT_INP_DATA_L; ++i){
AVG_buff[i] = FP_acc;
}
FFT_fp(AVG_buff, FFT_INP_DATA_L, FFT_buff);
}else if (mode == FLUSH_TWIDDLES){