Ticket #4361 (closed: fixed)
ConjoinWorkspaces does not carry over masking from the second workspace
| Reported by: | Martyn Gigg | Owned by: | Martyn Gigg | 
|---|---|---|---|
| Priority: | major | Milestone: | Release 2.0 | 
| Component: | Mantid | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Tester: | Peter Parker | 
Description
Seen with this script
Load('OSI11886.raw', 'top',SpectrumMin=1,SpectrumMax=3)
Load('OSI11886.raw', 'bottom',SpectrumMin=4,SpectrumMax=6)
MaskDetectors('top',WorkspaceIndexList=[1])
MaskDetectors('bottom',WorkspaceIndexList=[2])
print 'Index 1 in top is masked',mtd['top'].getDetector(1).isMasked()
print 'Index 2 in bottom is masked',mtd['bottom'].getDetector(2).isMasked()
print 'Running Conjoin'
ConjoinWorkspaces('top', 'bottom')
print 'Index 1 in top is masked',mtd['top'].getDetector(1).isMasked()
print 'Index 5 in top is masked',mtd['top'].getDetector(5).isMasked()
    Change History
comment:3 Changed 9 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:4 Changed 9 years ago by Peter Parker
- Status changed from verify to verifying
- Tester set to Peter Parker
Note: See
        TracTickets for help on using
        tickets.
    

Refs #4361. Fix ConjoinWorkspaces so that it propagates spectrum masks