Skip to content

Instantly share code, notes, and snippets.

View tomasiser's full-sized avatar

Tomáš Iser tomasiser

View GitHub Profile
@tomasiser
tomasiser / _ Python tev IPC wrapper.md
Last active April 22, 2021 12:18
Python tev/IPC wrapper

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.

Example usage:

with TevIpc() as tev:
    image_data = np.full((100,100,3), 1.0)
    image_data[40:61,:,0] = 0.0
@tomasiser
tomasiser / plateau_reduced_numpy.ipynb
Last active June 11, 2024 07:12
Plateau-reduced optimization using pure NumPy
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.