Changeset b0b09b9 in sasview for src/sas/qtgui/Plotting/Slicers/SectorSlicer.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/SectorSlicer.py
rdc5ef15 rb0b09b9 6 6 from PyQt4 import QtCore 7 7 8 from BaseInteractor import BaseInteractor8 from .BaseInteractor import BaseInteractor 9 9 from sas.qtgui.Plotting.PlotterData import Data1D 10 10 import sas.qtgui.Utilities.GuiUtils as GuiUtils … … 230 230 msg = "Phi left and phi right are different" 231 231 msg += " %f, %f" % (self.left_line.phi, self.right_line.phi) 232 raise ValueError , msg232 raise ValueError(msg) 233 233 params["Phi [deg]"] = self.main_line.theta * 180 / numpy.pi 234 234 params["Delta_Phi [deg]"] = numpy.fabs(self.left_line.phi * 180 / numpy.pi)
Note: See TracChangeset
for help on using the changeset viewer.