Use numpy to do color table lookup.
authorJosh Blum <josh@joshknows.com>
Thu, 7 Jan 2010 06:08:27 +0000 (22:08 -0800)
committerJosh Blum <josh@joshknows.com>
Thu, 7 Jan 2010 06:08:27 +0000 (22:08 -0800)
commitbd18b8192c78bb7af4a9c3d3a6c367cde3527311
tree0a03f6e080b3dfe185e75f939ae5f31c78f1fc40
parentf6a770799b8725546044a59067f1ab9937ee3af1
Use numpy to do color table lookup.
You can index a numpy array with another numpy array
to get an array of looked-up values.
I did not know that numpy could do that!
gr-wxgui/src/python/plotter/waterfall_plotter.py