Ticket #11634 (new)

Opened 5 years ago

Last modified 5 years ago

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:


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)


Integration.png (30.0 KB) - added by Alex Buts 5 years ago.

Change History

Changed 5 years ago by Alex Buts

comment:1 Changed 5 years ago by Alex Buts

  • Milestone changed from Release 3.4 to Release 3.5

comment:2 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 12472

Note: See TracTickets for help on using tickets.