Changeset d744767 in sasview for src/sas/qtgui/Plotting/Slicers/Arc.py
- Timestamp:
- Mar 16, 2018 12:05:42 PM (6 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:
- 47bf906
- Parents:
- 477c473 (diff), e4c475b7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Slicers/Arc.py
re7a0b2f rd744767 4 4 import math 5 5 6 from BaseInteractor import BaseInteractor6 from .BaseInteractor import BaseInteractor 7 7 8 8 class ArcInteractor(BaseInteractor): … … 70 70 x = [] 71 71 y = [] 72 if theta1 !=None:72 if theta1 is not None: 73 73 self.theta1 = theta1 74 if theta2 !=None:74 if theta2 is not None: 75 75 self.theta2 = theta2 76 76 while self.theta2 < self.theta1: … … 80 80 npts = int((self.theta2 - self.theta1) / (math.pi / 120)) 81 81 82 if r ==None:82 if r is None: 83 83 self.radius = math.sqrt(math.pow(self._mouse_x, 2) + \ 84 84 math.pow(self._mouse_y, 2))
Note: See TracChangeset
for help on using the changeset viewer.