Ticket #11634 (new)
Integration does not work for event workspaces
Reported by: | Alex Buts | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | Release 3.5 |
Component: | Framework | Keywords: | |
Cc: | martyn.gigg@…, nick.draper@… | Blocked By: | |
Blocking: | Tester: |
Description
Take an event workspace (I tried MER24643 but believe any will do) and run the script below. Integration works over the whole workspace when rebin cuts correct chunk. (see picture attached)
Load(Filename=r'MER24643.nxs', OutputWorkspace='SR_MER024643', LoadMonitors=True) Integration(InputWorkspace='SR_MER024643', OutputWorkspace='BG_MER024643_Integrated', RangeLower=19500, RangeUpper=20000, IncludePartialBins=True) Rebin(InputWorkspace='SR_MER024643', OutputWorkspace='BG_MER024643_rebinned', Params='19500,1000,20000', PreserveEvents=False)
Integration over rebinnied workspace works correctly (see script below) but this only emphasises the point
Load(Filename=r'MER24643.nxs', OutputWorkspace='SR_MER024643', LoadMonitors=True) Rebin(InputWorkspace='SR_MER024643', OutputWorkspace='BG_MER024643_tmp', Params='19000,10,20000', PreserveEvents=False) Integration(InputWorkspace='BG_MER024643_tmp', OutputWorkspace='BG_MER024643_Int2', RangeLower=19500, RangeUpper=20000, IncludePartialBins=True)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.