Changeset b98db8c in sasview
- Timestamp:
- Dec 12, 2008 7:32:32 PM (16 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- e5a9e32
- Parents:
- 356aea78
- Location:
- guiframe/local_perspectives/plotting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Arc.py
r356aea78 rb98db8c 69 69 if theta2 !=None: 70 70 self.theta2= theta2 71 #print "ring update theta1 theta2", self.theta1, self.theta271 print "ring update theta1 theta2", math.degrees(self.theta1), math.degrees(self.theta2) 72 72 while self.theta2 < self.theta1: self.theta2 += 2*math.pi 73 73 npts = int((self.theta2 - self.theta1)/(math.pi/120)) -
guiframe/local_perspectives/plotting/Edge.py
r356aea78 rb98db8c 71 71 Draw the new roughness on the graph. 72 72 """ 73 if r1 !=None: 74 self.r1=r1 75 if r2!=None: 76 self.r2=r2 77 """ 73 78 self.theta_left=theta_left 74 79 self.theta_right=theta_right … … 89 94 if theta_left ==None and theta_right==None: 90 95 self.move_stop=True 91 print "in the edge theta_right theta_left",theta_right,theta_left,self.theta 96 """ 97 #print "in the edge theta_right theta_left",theta_right,theta_left,self.theta 92 98 x1= self.r1*math.cos(self.theta) 93 99 y1= self.r1*math.sin(self.theta) … … 122 128 #print "on move theta left , theta right",self.theta_left,self.theta_right 123 129 theta= math.atan2(y,x) 124 print "on move theta left , theta right",self.theta_left,self.theta_right,theta 125 if self.theta_left !=None: 126 if self.theta_left >= theta: 127 print "went hier" 128 self.move_stop= True 129 if self.theta_right !=None: 130 if self.theta_right <= theta: 131 self.move_stop= True 132 133 if self.move_stop: 134 self.theta= math.atan2(y,x) 135 self.has_move= True 130 """print "on move theta left , theta right",self.theta_left,self.theta_right,theta 131 if self.theta_left !=None: 132 if self.theta_left >= theta: 133 print "went hier" 134 self.move_stop= True 135 if self.theta_right !=None: 136 if self.theta_right <= theta: 137 self.move_stop= True 138 139 self.move_stop= True 140 if self.move_stop: 141 """ 142 self.theta= math.atan2(y,x) 143 self.has_move= True 136 144 137 145 self.base.base.update() -
guiframe/local_perspectives/plotting/SectorSlicer.py
r356aea78 rb98db8c 33 33 theta1=math.pi/8 34 34 theta2=math.pi/2 35 theta1=2*math.pi/3 36 theta2=-2*math.pi/3 35 37 r1=self.qmax/2.0 36 38 r2=self.qmax/1.8 39 37 40 # Inner circle 38 41 from Arc import ArcInteractor … … 48 51 arc1=self.inner_circle, 49 52 arc2=self.outer_circle, 50 theta= math.pi/8)53 theta=theta1) 51 54 self.outer_radius= RadiusInteractor(self, self.base.subplot, zorder=zorder+1, 52 55 arc1=self.inner_circle, 53 56 arc2=self.outer_circle, 54 theta= math.pi/2)57 theta=theta2) 55 58 self.update() 56 59 self._post_data()
Note: See TracChangeset
for help on using the changeset viewer.