Dear GNU Radio, This is most likely a shortcoming of how python handles significant digits, but I wanted to point out that creating a Blackmanharris window in Python and C++ result in different results.
In Python: window = fft.blackmanharris(1024) In c++: const std::vector< float > window = gr::filter::firdes::window(gr::filter::firdes::WIN_BLACKMAN_HARRIS, 1024, NULL); I have attached an image of two plots. The first plot is of the two windows on top of each other (green and blue), and the second is of their difference: differences = python_values - cpp_values; I was wondering why my c++ and python application were getting different results, and I have found the cause. -- Sincerely, Tommy Tracy II UVA
<<attachment: Blackmanharris.png>>
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio