OpenBCI_GUI icon indicating copy to clipboard operation
OpenBCI_GUI copied to clipboard

Spectrogram Improvements - v4.2.0

Open jps2000 opened this issue 5 years ago • 13 comments
trafficstars

This is a collection of Spectrogram issues found with GUI 4.2.0-alpha, Win10, Ganglion. It has been atremendous effort of @retiutut to reach this level. Thank you, You made it! Some minor bugs/ shortcomings I noticed so far:

  • [x] 1)After start of GUI I can not select spectrogram. It does not appear in the popup. I need to change layout first then it is possible.

  • [x] 2) Frequencies are not displayed correctly Compare with FFT plot. That is correct. For example 50 Hz hum is not displayed at 50Hz. It is displayed at ~ 62.5 Hz instead 10Hz is giving 12.5 etc

I noticed that the signal is heavily distorted but this I have to investigate further. It seems to be a hardware problem.

  • [ ] 3) Gain too low: Blue should be 0.1uV Red100uV ( like fft). Now blue seem to be 10uV If the signal is > 100uV you may blank the spectrum (all white) indicating artifact

  • [ ] 4)There should be a possibility to set the time span of spectrogram1,2,5,10,20,50 min

  • [ ] 5)When no channel is selected there should be all blue displayed. Instead it is red now( full signal) Alternatively this may be white ( see above)

jps2000 avatar Jan 07 '20 09:01 jps2000

4)There should be a possibility to set the time span of spectrogram1,2,5,10,20,50 min

This is adjusted using the number of Samples, may not be able to fit another dropdown, or I will have to remove the Save Spectrogram button.

retiutut avatar Jan 08 '20 17:01 retiutut

1)After start of GUI I can not select spectrogram. It does not appear in the popup. I need to change layout first then it is possible.

I would need a screenshot of this also. Try using the widget selector and scrolling with mouse. Spectrogram can also be moved towards the top, this needs to be cleared first.

retiutut avatar Jan 08 '20 17:01 retiutut

Ad 1) Here the screen shot: grafik To reproduce this you need to close GUI WITHOUT having spectrogram selected. Then if you change layout you get this grafik Then everything works as expected

jps2000 avatar Jan 09 '20 05:01 jps2000

Ad2: You can see the FFT displays correctly the 50Hz while the spectrogram does not grafik

jps2000 avatar Jan 09 '20 05:01 jps2000

Ad 4) I do not understand There should be a dropdown like the window in the time series selecting the span of the x axis. ( 1,2,5,10,20,50 min . However showing absolute time should remain of course. Save spectrogram should remain. Maybe short text to save image It is the main purpose of the spectrogram to have information visible from the past. You may see the effect of meditation , drugs etc.

jps2000 avatar Jan 09 '20 05:01 jps2000

Ad 3) you may add a kind of a gain dropdown menu setting doing blue = 0,1uV, 1uV, 10 uV . the span should always be 3 decades. I do not see a benefit from linear scale . You may skip this setting

jps2000 avatar Jan 09 '20 05:01 jps2000

Ad 1: This point can be closed. I simply did not notice the selector bar.

jps2000 avatar Jan 12 '20 17:01 jps2000

Working on Ad 2, I was able to check 50 Hz using Synthetic mode. I would check the "Channel Select" dropdown. I would say 50Hz is slightly off, but not by much.

Screen Shot 2020-02-02 at 1 23 16 PM

retiutut avatar Feb 02 '20 19:02 retiutut

Looks good, Not sure what you want to say. Have you changed something that it is ok now? Frequency reading should be consistent with FFT plot.
Remark: To display 50Hz you should switch BP filter 5-50 to No filter

jps2000 avatar Feb 03 '20 06:02 jps2000

Channel 7 has synthetic 50 Hz noise, as you can see in the FFT and TimeSeries.

retiutut avatar Feb 03 '20 15:02 retiutut

so it is ok now

jps2000 avatar Feb 04 '20 07:02 jps2000

Remark: To display 50Hz you should switch BP filter 5-50 to No filter

😄 Screen Shot 2020-02-10 at 11 50 16 AM

The very thin line at the bottom is actually Channel 8, and I did turn it off for momentarily.

retiutut avatar Feb 10 '20 17:02 retiutut

thank you

jps2000 avatar May 08 '21 08:05 jps2000