Is this graph of Wigner-Ville distribution OK? I am studying some code for smoothed Wigner-Ville distribution.

update 3- solution, graph was over amplified in a 2d overdrive/oversaturation effect. if i divide by 20 only a line is visible.

Update - indeed there is a bug, the current image is from 128 samples of a $44.1\textrm{ kHz}$ signal where sample[i] = sin[i/10.0]; i.e. a $4410 \textrm{ Hz}$ sine wave, to fit inside the 128 samples.

As suggested by JazzManiac, here is the code which is causing errors, it's actually P Kootsookos Cohens.C code, with a minor change, instead of a .raw input audio TFD file i am using a sine wave array in get_my_signal function... A trivial and simple patch, wouldnt you agree? that can't be the error?!

I have a professional C programmer who has been coding for 30 years who provided this version of the code, it's just setting the argc and argv options in advance, to spwvd, hamming, and default window (was 128, is now 1024).

Is smoothed Wigner-Ville the same as smoothed pseudo Wigner-Ville?...





The original author (i.e. me) gets this for each of the three test cases:
The graph is over amplified. If the image in blue is divided by factor of 20, the transients vanish and only a line of the detected frequency is visible.