miek / inspectrum

Radio signal analyser
GNU General Public License v3.0
2.09k stars 270 forks source link

Inspectrum crashes in viewing small files #223

Closed chr1s-uni closed 2 months ago

chr1s-uni commented 1 year ago

When I load a small file like 8 kb into inspectrum and increase the size of the window inspectrum crashes consistently

jdemel commented 2 months ago

I ran a quick test. Generated a small file with

testsize = 1024
test = np.random.normal(0.0, 1.0, testsize) + 1.j * np.random.normal(0.0, 1.0, testsize)
test = test.astype(np.complex64)
test.tofile("testdata.fc32"))

opened the file in inspectrum with the waterfall plot only. Zoom, window resizing etc. works.

As soon as I add a derived plot, it crashes. floating point exception (core dumped) [PATH_TO_INSPECTRUM]/inspectrum testdata.fc32