Changeset 116da060 in sasview
- Timestamp:
- Jan 8, 2009 9:24:13 AM (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:
- 3554b99a
- Parents:
- 030873e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/SectorSlicer.py
ref0c170 r116da060 31 31 32 32 ## Number of points on the plot 33 self.nbins = 2033 self.nbins = 30 34 34 self.theta1= math.pi/4 35 35 self.theta2= math.pi/3 … … 111 111 self.right_line.update( delta = self.main_line.get_radius(),mline= self.main_line) 112 112 self.left_line.update( delta = self.main_line.get_radius() ,mline= self.main_line) 113 print "Main line has moved ---> phi right",math.degrees(self.main_line. theta-self.right_line.theta)114 print "Main line has moved ---> phi left",math.degrees(self. main_line.theta-self.left_line.theta)113 print "Main line has moved ---> phi right",math.degrees(self.main_line.get_radius()+self.right_line.theta) 114 print "Main line has moved ---> phi left",math.degrees(self.left_line.theta+self.main_line.get_radius()) 115 115 if self.left_line.has_move: 116 116 print "left line has moved --->" … … 149 149 from DataLoader.manipulations import SectorQ 150 150 radius = math.sqrt(math.pow(self.qmax,2)+math.pow(self.qmax,2)) 151 phimin = self.right_line.theta 152 phimax = self.left_line.theta 151 phimin = self.right_line.theta+math.pi 152 phimax = self.left_line.theta+math.pi 153 #sect = SectorQ(r_min=0.000001, r_max= radius , phi_min=phimin, phi_max=phimax) 153 154 sect = SectorQ(r_min=-1*radius , r_max= radius , phi_min=phimin, phi_max=phimax) 154 155 if nbins!=None:
Note: See TracChangeset
for help on using the changeset viewer.