Ticket #6117 (closed: duplicate)
Complemetary cal files contain the same selected detectors
Reported by: | Alex Buts | Owned by: | Nick Draper |
---|---|---|---|
Priority: | blocker | Milestone: | Release 2.4 |
Component: | Mantid | Keywords: | |
Cc: | pascal.manuel@… | Blocked By: | |
Blocking: | Tester: | Martyn Gigg |
Description (last modified by Alex Buts) (diff)
Tried on wish instrument though suspected generic problem Diffraction focusing produces the results which is suspected rubbish, indicating that much more data is involved in focusing then selected area of interest.
Further investigation suggest the following bug as possible reason for that.
1) Load wish file (e.g. Wish00016748 from system tests)
2) Show instrument, go to mask and select an reasonable mask, approximately 1/10 of the instrument (image attached)
3) Apply mask (unnecessary but shows masked area of the workspace)
4) Try to run Save As Mask to workspace
5) Save this workspace as MaskCalFile
6) Save as the same workspace as ROI to workspace
7) SaveCalFile -> save this workspace as ROICal file
Head of the first cal file contains "0" and the head of the second one contains "1" which is correct but the tails of both files contain "1" which is incorrect as files have to be complementary
The problem clearly comes from SaveCalFile working with 4 to 1 maps as ROI/Mask workspaces in memory (before being saved to ROI/Mask cal file) have 1/4th of rows wrt. the cal files and look correct (complementary)
Attachments
Change History
comment:2 Changed 8 years ago by Nick Draper
- Owner set to Nick Draper
- Status changed from new to verify
- Resolution set to duplicate
fixed in #6124
comment:3 Changed 8 years ago by Martyn Gigg
- Status changed from verify to verifying
- Tester set to Martyn Gigg