Changeset b0b09b9 in sasview for src/sas/qtgui/Plotting/Slicers/BoxSlicer.py
- Timestamp:
- Oct 26, 2017 3:13:05 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 895e7359
- Parents:
- def64a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Slicers/BoxSlicer.py
rdc5ef15 rb0b09b9 3 3 from PyQt4 import QtCore 4 4 5 from BaseInteractor import BaseInteractor5 from .BaseInteractor import BaseInteractor 6 6 from sas.qtgui.Plotting.PlotterData import Data1D 7 7 import sas.qtgui.Utilities.GuiUtils as GuiUtils … … 136 136 if new_slab is None: 137 137 msg = "post data:cannot average , averager is empty" 138 raise ValueError , msg138 raise ValueError(msg) 139 139 self.averager = new_slab 140 140 if self.direction == "X": … … 152 152 else: 153 153 msg = "post data:no Box Average direction was supplied" 154 raise ValueError , msg154 raise ValueError(msg) 155 155 # # Average data2D given Qx or Qy 156 156 box = self.averager(x_min=x_min, x_max=x_max, y_min=y_min, y_max=y_max,
Note: See TracChangeset
for help on using the changeset viewer.