alexandrebarachant / muse-lsl

Python script to stream EEG data from the muse 2016 headset
BSD 3-Clause "New" or "Revised" License
629 stars 184 forks source link

Plotting live spectra in muselsl viewer #108

Open kylemath opened 5 years ago

kylemath commented 5 years ago

Hey, It would be very useful to tinkering to have a live spectra option for each channel built into the viewer, or as a new viewer. I was going to start working on something simple in the viewer to plot a spectra.

I see a couple decisions to make.

  1. would this be a single channel or multiple?
  2. Is this a toggle in the main viewer?
  3. How can the window size be dynamically adjusted?
  4. do we want a changing spectra, or a rastering spectrogram with some memory to show changes over time, probably both options
  5. that spectrogram would need to be adjusted in its time range as well (same + and - as the time domain)

Perhaps this is related to the comment in https://github.com/alexandrebarachant/muse-lsl/issues/104 about changing the neurofeedback example to a Welch PSD,