Ticket #2163 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

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:1 Changed 10 years ago by Mathieu Doucet

  • Status changed from new to accepted

comment:2 Changed 10 years ago by Mathieu Doucet

(In [8282]) TOF values copied. Also deals better with histo with >1 TOF bins. Re #2163

comment:3 Changed 10 years ago by Mathieu Doucet

  • Status changed from accepted to verify
  • Resolution set to fixed

(In [8284]) Updated relevant test. Fixes #2163

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)

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3010

Note: See TracTickets for help on using tickets.