Ticket #6118 (closed: fixed)
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
Change History
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
Note: See
TracTickets for help on using
tickets.
Refs #6118 Reverse histogram and even lists
modified: ScaleX.cpp