Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • DetectorROIs: JSON dictionarywith  all Regions Of Interests ranges, e.g.
    {"pilatus_roi1": [[195, 73, 277, 145]], "pilatus_roi2":[[305, 65, 455, 125]], "old_pilatus_roi":[[19, 27, 73, 146]]}
  • DetectorROIsValues: JSON dictionary with Regions Of Interests sums, e.g.
    {"pilatus_roi1": [44940.0], "pilatus_roi2": [8167.0]}}
  • DetectorROIsParams: JSON list of image transformations performed by lavue, e.g.
    ["transpose", "flip-left-right", "flip-up-down"]
  • DetectorROIsOrder: JSON list of ROI aliases representing they order, e.g.
    ["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), roi_number (int)

e.g.

lavue -u intensity --tool-configuration \{\"roi_number\":2,\"aliases\":[\"pilatus_roi1\",\"polatus_roi2\"]}