nelpy / ghost

Spectral analysis tools for neuroscience data
MIT License
10 stars 1 forks source link

Too many points in wavelet spectrogram plot #2

Open jchutrue opened 5 years ago

jchutrue commented 5 years ago

If there are too many points in the wavelet spectrogram plot, some parts of the image will not render properly. I need to figure out a way to downsample correctly without messing up the temporal resolution.

eackermann commented 5 years ago

Well, we may just need to use the right tool for the job. Matplotlib is not the right tool, but datashader might be: https://github.com/pyviz/datashader

jchutrue commented 5 years ago

I was thinking about PyOpenGL but this looks pretty cool and may be faster to get working

eackermann commented 5 years ago

i'ts a three-liner to plot your spectrogram with datashader, so it looks like a winner to me