Skip to content

Implemented plotting of Integration regions in DetectorScene

Raza, Zamaan requested to merge draw_integration_region_3 into develop

Integration regions are now coloured in an overlay of the detector image with an alpha channel.

  • Added controls for showing/hiding, colours and transparency to PeakViewWidget
  • Can now colour the integration regions for two different peak collections in DetectorWindow

Note that DetectorScene is getting a bit bloated, so I have opened an issue (#229) calling for a refactor. Given how many members and methods the integration overlay adds to the class, it may be an idea to define it as a distinct class at some point.

Edited by Raza, Zamaan

Merge request reports