Changeset c09f14a in sasview
- Timestamp:
- Jan 15, 2009 9:22:20 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:
- 2dda74ac
- Parents:
- 1b6bb09
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter2D.py
raa1b747 rc09f14a 72 72 self.beamstop_radius = DEFAULT_BEAM 73 73 # Slicer 74 """ 74 75 if data2d.xmax==None: 75 76 data2d.xmax=DEFAULT_QMAX+self.qstep*0.01 … … 79 80 data2d.ymax=DEFAULT_QMAX+self.qstep*0.01 80 81 self.imax = data2d.ymax 82 """ 81 83 #self.radius = math.sqrt(data2d.) 82 self.qstep = DEFAULT_QSTEP84 #self.qstep = DEFAULT_QSTEP 83 85 #print "panel2D qmax",self.qmax, 84 86 85 self.x = pylab.arange(-1*self.qmax, self.qmax+self.qstep*0.01, self.qstep) 86 self.y = pylab.arange(-1*self.imax, self.imax+self.qstep*0.01, self.qstep) 87 88 self.slicer_z = 5 87 #self.x = pylab.arange(-1*self.qmax, self.qmax+self.qstep*0.01, self.qstep) 88 #self.y = pylab.arange(-1*self.imax, self.imax+self.qstep*0.01, self.qstep) 89 #self.slicer_z = 5 89 90 self.slicer = None 90 91 self.parent.Bind(EVT_INTERNAL, self._onEVT_INTERNAL) … … 304 305 self.slicer_z += 1 305 306 self.slicer = slicer(self, self.subplot, zorder=self.slicer_z) 307 print "come here" 308 #self.subplot.set_ylim(self.data2D.ymin, self.data2D.ymax) 309 #self.subplot.set_xlim(self.data2D.xmin, self.data2D.xmax) 310 """ 306 311 self.subplot.set_ylim(-self.qmax, self.qmax) 307 312 self.subplot.set_xlim(-self.qmax, self.qmax) 313 """ 308 314 self.update() 309 315 self.slicer.update() … … 329 335 from DataLoader.manipulations import CircularAverage 330 336 import math 337 self.qmax= self.data2D.xmax 331 338 self.radius= math.sqrt( math.pow(self.qmax,2)+math.pow(self.qmax,2)) 332 339 print "radius?",self.radius
Note: See TracChangeset
for help on using the changeset viewer.