Ticket #6118 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Allow negative factors in ScaleX algorithm

Reported by: Jose Borreguero Owned by: Jose Borreguero
Priority: minor Milestone: Release 2.4
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Martyn Gigg

Description

ScaleX does not reverse dataX, dataY, and dataE when re-scaling by a negative factor (MatrixWorkspace). Similarly, ScaleX does not reverse the list of events when re-scaling by a negative factor (EventWorkspace)

Attachments

LiCl_0_3_006K_ForDAVE.TXT (31.5 KB) - added by Jose Borreguero 8 years ago.

Change History

comment:1 Changed 8 years ago by Jose Borreguero

Refs #6118 Reverse histogram and even lists

modified: ScaleX.cpp

Changeset: 05bb6e203fd4a06167eaf2cd3f0fce2ef89c7c00

Changed 8 years ago by Jose Borreguero

comment:2 Changed 8 years ago by Jose Borreguero

  • Status changed from new to accepted

comment:3 Changed 8 years ago by Jose Borreguero

Instructions to tester:

1- Load attached file LiCl_0_3_006K_ForDAVE.TXT​ (LoadAscii, OutputWorkspace=W1, Separator=Tab, Unit=deltaE)

2- Run ScaleX (OutputWorkspace=W2, factor=-1)

Plot W1 and W2. W2 should be a mirror image of W1.

comment:4 Changed 8 years ago by Jose Borreguero

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

comment:5 Changed 8 years ago by Jose Borreguero

Refs #6118 Reverse histogram and even lists

modified: ScaleX.cpp

Changeset: 05bb6e203fd4a06167eaf2cd3f0fce2ef89c7c00

comment:6 Changed 8 years ago by Martyn Gigg

  • Status changed from verify to verifying
  • Tester set to Martyn Gigg

comment:7 Changed 8 years ago by Martyn Gigg

  • Status changed from verifying to closed

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6964

Note: See TracTickets for help on using tickets.