Ticket #4001 (closed: fixed)
ExtractSingleSpectrum should be event aware
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Russell Taylor |
Description
Pascal found a difference when running
LoadEventNexus(Filename=r'/archive/ndxwish/Instrument/data/cycle_11_3/WISH00019301.nxs',OutputWorkspace='19301full',LoadMonitors='1',MonitorsAsEvents='1') Rebin(InputWorkspace='19301full_monitors',OutputWorkspace='19301-full_monitors_rebin',Params='5000,-0.00063,105000') ExtractSingleSpectrum(InputWorkspace='19301-full_monitors_rebin',OutputWorkspace='19301-full_monitors_rebin_extract',WorkspaceIndex='3') ExtractSingleSpectrum(InputWorkspace='19301full_monitors',OutputWorkspace='19301-full_extract',WorkspaceIndex='3') Rebin(InputWorkspace='19301-full_extract',OutputWorkspace='19301-full_extract_rebin',Params='5000,-0.00063,105000')
The reason being that ExtractSingleSpectrum is not event aware and the workspace is converted to a Workspace2D and then rebinned.
Pascal needs this for the WISH scripts. Extract does not currently use CropWorkspace which I think it should.
Change History
comment:1 Changed 9 years ago by Martyn Gigg
- Status changed from new to closed
- Resolution set to fixed
comment:2 Changed 9 years ago by Martyn Gigg
- Status changed from closed to reopened
- Resolution fixed deleted
comment:4 Changed 9 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:5 Changed 9 years ago by Russell Taylor
- Status changed from verify to verifying
- Tester set to Russell Taylor
Note: See
TracTickets for help on using
tickets.
Fixes #4001. Make ExtractSingleSpectrum event aware by making it use CropWorkspace.