You can customize the colormap by modifying the image.py
applet. Add the following line inside the __init__
method of the Image
class:
diff --git a/artiq/applets/image.py b/artiq/applets/image.py
index 3948e1552..9e7005737 100755
--- a/artiq/applets/image.py
+++ b/artiq/applets/image.py
@@ -10,6 +10,7 @@ class Image(pyqtgraph.ImageView):
def __init__(self, args, req):
pyqtgraph.ImageView.__init__(self)
self.args = args
+ self.setColorMap(pyqtgraph.colormap.get("viridis"))
def data_changed(self, value, metadata, persist, mods):
try:
Alternatively, you could create a custom applet based on the original and configure the colormap there, which would keep your modifications separate from upstream changes.