Visualising waveforms with Python and Bokeh

I’ve recently been playing with the Bokeh Python library for visualisation. One thing I end up trying to do more often than I should is trying to draw waveforms for talks and presentations. Turns out that Bokeh is great for this!

Here’s a long waveform:

wav_whole

And a shorter segment of it:

wave_seg

 

Have given up trying to format code properly in wordpress, so it’s on GitHub – you need to supply your own wav file.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

One Response to Visualising waveforms with Python and Bokeh

  1. Spot on with this write-up, I honestly believe that this amazing site needs far more attention. I’ll probably be back again to read more, thanks for the information!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s