Skip to content

Pass masks to the detector in job (#1055)

Mikhail Svechnikov requested to merge m.0 into main
  1. Masks are passed from the datafile to the detector and thus applied to computation.
  2. In my understanding, Detector does not need Projections onboard. Only masks, because they participate in the intensity computations.
  3. DetectorItem::setMasks now does a copy of the masks from the datafile. No passing the ownership from datafile.
  4. 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

Merge request reports

Loading