Skip to content

Commit

Permalink
Working on bug found by Haile about data not correctly displayed. Thi…
Browse files Browse the repository at this point in the history
…s refs #5801
  • Loading branch information
JeanBilheux committed Nov 26, 2012
1 parent 3c4f704 commit 391ceac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ RefMatrixWSImageView::RefMatrixWSImageView( QString wps_name)
ws = AnalysisDataService::Instance().retrieveWS<IEventWorkspace>(wps_name.toStdString());

const double total_ymin = 0.0;
const double total_ymax = 255.0;
const size_t total_rows = 256;

// const double total_ymax = 255.0;
// const size_t total_rows = 256;
const double total_ymax = 303;
const size_t total_rows = 304;


std::vector<double> xaxis = ws->readX(0);
const size_t sz = xaxis.size();
const size_t total_cols = sz-1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,7 @@ def _plot_data_count_vs_tof_2d(self):
callback=None,
instrument='REFM')


# def call_back(peakmin, peakmax, backmin, backmax, tofmin, tofmax):
# print 'Inside the call_back on the python side'
# self._summary.data_peak_from_pixel.setText("%-d" % int(peakmin))
Expand Down

0 comments on commit 391ceac

Please sign in to comment.