Ticket #5382 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

GroupDetectors not averaging for workspace without instrument

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Release 2.2
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Andrei Savici

Description

CreateWorkspace(OutputWorkspace='w',DataX='0,1,2,3,0,1,2,3,0,1,2,3',DataY=
'1,2,3,1,2,3,1,2,3',DataE='1,1,1,1,1,1,1,1,1',NSpec='3',VerticalAxisUnit='
DeltaE',VerticalAxisValues='1,2,3')
GroupDetectors(InputWorkspace='w',OutputWorkspace='w3',WorkspaceIndexList=
'0,1,2',Behaviour='Average')

I get for dataY 3,6,9 instead of 1,2,3

Change History

comment:1 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:2 Changed 8 years ago by Martyn Gigg

Fix GroupDetectors average when no instrument present. Refs #5382

Also add a test.

Changeset: f14c8b1b3d7419f631f424d2031932a3828669ee

comment:3 Changed 8 years ago by Martyn Gigg

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

comment:4 Changed 8 years ago by Martyn Gigg

Fix GroupDetectors average when no instrument present. Refs #5382

Also add a test.

Changeset: f14c8b1b3d7419f631f424d2031932a3828669ee

comment:5 Changed 8 years ago by Martyn Gigg

Fix GroupDetectors average when no instrument present. Refs #5382

Also add a test.

Changeset: f14c8b1b3d7419f631f424d2031932a3828669ee

comment:6 Changed 8 years ago by Andrei Savici

  • Status changed from verify to verifying
  • Tester set to Andrei Savici

comment:7 Changed 8 years ago by Andrei Savici

  • Status changed from verifying to closed

works for me

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6228

Note: See TracTickets for help on using tickets.