Ticket #5447 (closed: fixed)
GroupDetectors does not correctly handle the mask in the average mode
Reported by: | Andrei Savici | Owned by: | Andrei Savici |
---|---|---|---|
Priority: | minor | Milestone: | Release 2.2 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Michael Reuter |
Description
The following script should get an instrument view with only ones or masked pixels. In the current version you get 4s, 3s, ...
GenerateGroupingSNSInelastic(AlongTubes='4',AcrossTubes='1',Instrument='CNCS',Filename='CNCS4x1.xml') Load(Filename='CNCS_7860_event.nxs',OutputWorkspace='cal') Rebin(InputWorkspace='cal',OutputWorkspace='cal',Params='44000,17000,61000',PreserveEvents='0') MedianDetectorTest(InputWorkspace='cal',OutputWorkspace='mask',ExcludeZeroesFromMedian='1') MaskDetectors(Workspace='cal',MaskedWorkspace='mask') Load(Filename='CNCS_7860_event.nxs',OutputWorkspace='data') Rebin(InputWorkspace='data',OutputWorkspace='data',Params='44000,1700,61000',PreserveEvents='0') Divide(LHSWorkspace='data',RHSWorkspace='cal',OutputWorkspace='div') GroupDetectors(InputWorkspace='div',OutputWorkspace='gr',MapFile='CNCS4x1.xml',Behaviour='Average')
Change History
comment:2 Changed 8 years ago by Andrei Savici
Fix average grouping with masked spectra. Refs #5447
Changeset: 838e65425cf28ee9ac33efe3d03bd1d1a8a65904
comment:3 Changed 8 years ago by Andrei Savici
Fix average grouping with masked spectra. Refs #5447
Changeset: 838e65425cf28ee9ac33efe3d03bd1d1a8a65904
comment:4 Changed 8 years ago by Andrei Savici
Fix average grouping with masked spectra. Refs #5447
Changeset: 838e65425cf28ee9ac33efe3d03bd1d1a8a65904
comment:5 Changed 8 years ago by Andrei Savici
Fix average grouping with masked spectra. Refs #5447
Changeset: 838e65425cf28ee9ac33efe3d03bd1d1a8a65904
comment:6 Changed 8 years ago by Andrei Savici
- Status changed from accepted to verify
- Resolution set to fixed
comment:7 Changed 8 years ago by Michael Reuter
- Status changed from verify to verifying
- Tester set to Michael Reuter
Note: See
TracTickets for help on using
tickets.