The fastest way to display 30x400 data points is:
Use OpenGL color arrays
If you can quickly transform your data into what OpenGL understands as a color array, you can create a vertex array that describes the quadrants, one for each sensor, and then update the color matrix and do it spelling on the screen.
Use OpenGL Textures
If you can quickly convert your data points to an opengl texture, you can draw a single square with fixed UV coordinates attached to that texture.
Use pygame
Pygame supports the conversion of Numpy / Numarray to surfaces, Pygame can then convert surfaces that include re-sampling, after re-sampling you can split it on the screen.
miscellanea
pyglet makes opengl easy
Florian BΓΆsch
source share