afarhan / sbitx

174 stars 61 forks source link

Increase FFTW library algorithm search rigor; add support for wisdom files - all to reduce waterfall hallucinations #70

Closed sbeckman closed 10 months ago

sbeckman commented 11 months ago

Changed fft_filter.c and sbitx.c to increase the level of FFTW library algorithm search rigor, and to add support for Wisdom files.

Occasionally the sbitx program will start up in a strange mode where sensitivity is reduced, images are present in the waterfall. The problem was isolated to the way that the FFTW library would guess at an FFT algorithm. Increasing the level of rigor used by the library to find an algorithm has been demonstrated to eliminate the problem, however the increased level of rigor then increases sbitx program startup time to almost a minute. To solve that issue, support for Wisdom files has been added. If a Wisdom file does not exist then the FFTW library will find a good FFT algorithm, and then save it to the Wisdom file so that there will be no delay when the program is started again.

n1ai commented 10 months ago

See https://github.com/n1ai/sbitx-mainline/commit/ebb6b14059ed340af54dd1e97aeb981332eb9977 for an additional commit, it stores the wisdom files in the sbitx data directory using a similar idiom to the ones that other data files use for building the full path. It should merge cleanly after the first two commits are pulled.

n1ai commented 10 months ago

See https://github.com/n1ai/sbitx-mainline/commit/ebb6b14059ed340af54dd1e97aeb981332eb9977 for an additional commit, it stores the wisdom files in the sbitx data directory using a similar idiom to the ones that other data files use for building the full path. It should merge cleanly after the first two commits are pulled.

It appears that https://github.com/n1ai/sbitx-mainline/commit/ebb6b14059ed340af54dd1e97aeb981332eb9977 was not merged :-(