Pass masks to the detector in job (#1055)
- Masks are passed from the datafile to the detector and thus applied to computation.
- In my understanding, Detector does not need Projections onboard. Only masks, because they participate in the intensity computations.
-
DetectorItem::setMasks
now does a copy of the masks from the datafile. No passing the ownership from datafile. - After the copying, the mask coordinates are converted from the original values, based on loaded datafile axes or just bin indexes, to the values, corresponding to detector axes. Conversion utils are in
GUI/Model/Mask/MaskUtil
Resolves #1055 (closed)
Edited by Mikhail Svechnikov