Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExtractSingleSpectrum should be event aware #4848

Closed
martyngigg opened this issue Oct 25, 2011 · 1 comment
Closed

ExtractSingleSpectrum should be event aware #4848

martyngigg opened this issue Oct 25, 2011 · 1 comment
Assignees
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone

Comments

@martyngigg
Copy link
Member

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.

@martyngigg martyngigg added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Mantid labels Jun 3, 2015
@martyngigg martyngigg self-assigned this Jun 3, 2015
@martyngigg martyngigg added this to the Release 2.0 milestone Jun 3, 2015
@martyngigg
Copy link
Member Author

This issue was originally trac ticket 4001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Projects
None yet
Development

No branches or pull requests

1 participant