Ticket #3777 (closed: fixed)
Revert to obtaining energy from energy axis in ConvertToQ3dE
Reported by: | Alex Buts | Owned by: | Alex Buts |
---|---|---|---|
Priority: | trivial | Milestone: | Iteration 30 |
Component: | Mantid | Keywords: | |
Cc: | russell.taylor@… | Blocked By: | |
Blocking: | #3769 | Tester: | Russell Taylor |
Description
Enable 211 size_t lastInd = inWS2D->getAxis(0)->length()-1; 212 double E_max = inWS2D->getAxis(0)->operator()(lastInd); 213 double E_min = inWS2D->getAxis(0)->operator()(0);
when Rebin sets up energy axis properly.
Change History
comment:3 Changed 9 years ago by Alex Buts
- Status changed from accepted to verify
- Resolution set to fixed
comment:4 Changed 9 years ago by Russell Taylor
- Blocked By 3759 removed
(In #3759) Blocking entry erroneous (should have been 3769).
comment:6 Changed 9 years ago by Russell Taylor
- Status changed from verify to verifying
- Blocking 3769 added
- Tester set to Russell Taylor
comment:7 Changed 9 years ago by Russell Taylor
- Status changed from verifying to closed
Now that the RefAxis is correctly in place on the input workspace, getAxis(0)->operator() looks at precisely the same vector as readX(0). In general, the X axis is not used to get values instead of the readX methods, but what's there now is fine.
Note: See
TracTickets for help on using
tickets.
In [14815]: