Ticket #8619 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Divide by Zero

Reported by: Owen Arnold Owned by: Owen Arnold
Priority: major Milestone: Release 3.1
Component: Reflectometry Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Reuter

Description

Test out this problem using ReflectometryReductionOne

Change History

comment:1 Changed 7 years ago by Owen Arnold

  • Blocked By 8577 removed

(In #8577) Resolve this via ticket #8619

comment:2 Changed 7 years ago by Owen Arnold

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

Tester: Found the cause of this error. Here is the report also sent to Max, who reported it:

defaultInstKey = 'default.instrument'
defaultInstrument = config[defaultInstKey]
config[defaultInstKey] = 'INTER'
Load(Filename='13463', OutputWorkspace='13463')
Load(Filename='13464', OutputWorkspace='13464')
lhs = ConvertUnits(InputWorkspace='13463', Target='Wavelength')
rhs = ConvertUnits(InputWorkspace='13464', Target='Wavelength')
stitched = Stitch1D(LHSWorkspace=lhs, RHSWorkspace=rhs, StartOverlap=10, EndOverlap=12, Params=[1.5, 0.02, 17])

The warning is only coming up from Spectrum Number 5, because there are no counts in the overlap region for the rhs workspace. If you move the StartOverlap to be slightly lower (say 9), then the warning disappears.

comment:3 Changed 7 years ago by Owen Arnold

  • Milestone changed from Backlog to Release 3.1

comment:4 Changed 7 years ago by Michael Reuter

  • Status changed from verify to verifying
  • Tester set to Michael Reuter

comment:5 Changed 7 years ago by Michael Reuter

  • Status changed from verifying to closed

Yes, warning goes away when StartOverlap is moved lower. If user complains, reopen this.

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9463

Note: See TracTickets for help on using tickets.