ROI Tool selects Regions Of Interest and culculates a sum of their pixel intensities
Moreover, in configuration can be set if the sums of calculated ROIs should be sent to LavueController tango server.
After adding ROIs to sardana the following environment variables are created or updated
{"pilatus_roi1": [[195, 73, 277, 145]], "pilatus_roi2":[[305, 65, 455, 125]], "old_pilatus_roi":[[19, 27, 73, 146]]}
{"pilatus_roi1": [44940.0], "pilatus_roi2": [8167.0]}}
["transpose", "flip-left-right", "flip-up-down"
]
["pilatus_roi1", "pilatus_roi2"]
The configuration of the tool can be set with a JSON dictionary passed in the --tool-configuration
option in command line or a toolconfig
variable of LavueController.LavueState
with the following keys:
aliases
(list of strings), rois_number
(integer)
e.g.
lavue -u roi --tool-configuration \{\"rois_number\":2,\"aliases\":[\"pilatus_roi1\",\"polatus_roi2\"]}