Ticket #2163 (closed: fixed)
CalculateEfficiency: TOF binning is zeroed out if the input wks is not the output wks
Reported by: | Mathieu Doucet | Owned by: | Mathieu Doucet |
---|---|---|---|
Priority: | major | Milestone: | Iteration 27 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Brett Tully |
Description
If CalculateEfficiency is called with the output workspace different from the input workspace, the TOF bins are filled with zeros.
Change History
comment:3 Changed 10 years ago by Mathieu Doucet
- Status changed from accepted to verify
- Resolution set to fixed
comment:4 Changed 10 years ago by Brett Tully
- Status changed from verify to verifying
- Tester set to Brett Tully
comment:5 Changed 10 years ago by Brett Tully
- Status changed from verifying to closed
The following script runs successfully on 1.1.9517 RHEL 5
A = Load('/home/dmn58364/mantidproject/repo/Test/Data/EQSANS_1466_event.nxs','a').workspace() Rebin('a', 'a_rebin', '0,100,20000') B = CalculateEfficiency('a_rebin', 'b').workspace() C = CalculateEfficiency('a_rebin', 'a_rebin').workspace() CheckWorkspacesMatch(B,C)
Note: See
TracTickets for help on using
tickets.