From 57886083021337b02e21e7abda5c9eddfaae4b89 Mon Sep 17 00:00:00 2001 From: watts Date: Thu, 11 Jun 2026 15:20:51 +0200 Subject: [PATCH] Update ZMQ Publisher Reference --- ZMQ-Publisher-Reference.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ZMQ-Publisher-Reference.md b/ZMQ-Publisher-Reference.md index 54ee9b5..b5062b5 100644 --- a/ZMQ-Publisher-Reference.md +++ b/ZMQ-Publisher-Reference.md @@ -102,12 +102,17 @@ By keeping track of the size and positions of the tiles/inner regions, one will Data values must be provided as floats (the Intens GUI will crash if values are not floats). Note that it is possible for the data values to include "NaN" (not a number) values, and for the number of values provided to be less than indicated by the chunk size provided (particularly for asynchronous detectors). -Examples: +Image Examples: ``` ['scanLineData', '0 0 15 0 ', '17 0 ', '1 20 ', '[589.0,286.0,341.0,911.0,250.0,617.0,226.0,756.0,808.0,972.0,894.0,434.0,157.0,659.0,199.0,940.0,NaN,NaN,NaN,NaN]'] ['scanLineData', '0 0 0 0 ', '35 0 ', '1 100 ', '[770.0,708.0,357.0,425.0,844.0,102.0,185.0,710.0,342.0,880.0,792.0,890.0,898.0,704.0,32.0,454.0,105.0,94.0,296.0,373.0,339.0,285.0,406.0,122.0,343.0,487.0,973.0,152.0,62.0,481.0,713.0,880.0,338.0,149.0,385.0,596.0,531.0,79.0,952.0,491.0,225.0,2.0,361.0,200.0,279.0,278.0,356.0,913.0,396.0,101.0,107.0,399.0,616.0,810.0,809.0,252.0,330.0,17.0,464.0,87.0,367.0,370.0,975.0,874.0,864.0,385.0,331.0,935.0,278.0,16.0,287.0,668.0,515.0,836.0,184.0,542.0,838.0,426.0,925.0,25.0,181.0,204.0,140.0,607.0,118.0,131.0,250.0,159.0,225.0,562.0,609.0,86.0,714.0,117.0,521.0,791.0,664.0,471.0,500.0,676.0]'] ``` +Linescan and Pointscan Examples: +``` +['scanLineData', '0 9 1 0 ', '0 ', '10 ', '[716.0,589.0,95.0,729.0,311.0,220.0,153.0,613.0,788.0,696.0]'] +``` + ## 'scanStarted' This message is published when a scan is started. The data is a copy of the scan definition. A plotting routine should use this info to calculate the size and shape of the data to be measured. Note that the sets of innerRegions and outerRegions should be truncated to the sizes given by 'nInnerRegions' and 'nOuterRegions'.