spectrum_painter
spectrum_painter copied to clipboard
Deprecated numpy function and consistent IQ data
The first commit removes the numpy tostring() function deprecated in 1.19.0 (currently at 1.26.4 on PyPi). The replacement is tobytes().
The second commit adds a seed when generating random phases. This is so any image produces identical IQ data when the program is re-run. My application is in a capture the flag where having consistent IQ data is important.