Ticket #3777 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

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:1 Changed 9 years ago by Alex Buts

In [14815]:

refs #3777 Yep -- recent changes to initializeFromParent make this piece of code work properly.

comment:2 Changed 9 years ago by Alex Buts

  • Status changed from new to accepted

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:5 Changed 9 years ago by Russell Taylor

  • Milestone changed from Iteration 31 to Iteration 30

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.

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4624

Note: See TracTickets for help on using tickets.