This release detaches the plotting to e.g. pg.ImageItem
s from the Receiver.handle_data
method, allowing to set custom plot refresh rates per receiver. This avoids forced re-plotting on every incoming data which leads to massive CPU usage for e.g. M26 telescope planes (1152x576 pixels) using pymosa.online_monitor
.
Thus CPU load can be reduced by decreasing the refresh rate per receiver on-the-fly, if needed, without dropping data.
Furthermore, a lut_from_colormap
function has been added to the online_monitor.utils
submodule, allowing to generate lookup tables for pg.ImageItems
from matplotlib.colormaps
such as 'viridis', 'plasma', etc.