A simple Python wrapper to communicate with tev over IPC
This wrapper allows remotely creating, updating, and closing images in the tev image viewer. It is quite fast and is even suitable for semi-real-time usage like sending a raw video feed from a camera. See this tev issue for more information about its IPC.
with TevIpc() as tev:
image_data = np.full((100,100,3), 1.0)
image_data[40:61,:,0] = 0.0