- Timestamp:
- Dec 10, 2008 2:47:56 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:
- b2c3225
- Parents:
- 45c1a35
- Location:
- guiframe
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/data_loader.py
r7a7bf55 r768656e 119 119 wx.PostEvent(parent, NewPlotEvent(plot=new_plot, title=filename)) 120 120 else: 121 i= "res"121 i=1 122 122 for item in output: 123 123 try: … … 144 144 new_plot.group_id = filename 145 145 wx.PostEvent(parent, NewPlotEvent(plot=new_plot, title=filename)) 146 i ="slit"146 i+=1 147 147 148 148 -
guiframe/local_perspectives/plotting/DataPanel.py
rb06ef8c r768656e 451 451 452 452 slicerpop.AppendSeparator() 453 453 454 id = wx.NewId() 455 slicerpop.Append(id, '&Perform circular average') 456 wx.EVT_MENU(self, id, self.onCircular) 457 454 458 id = wx.NewId() 455 459 slicerpop.Append(id, '&Sector') 456 460 wx.EVT_MENU(self, id, self.onSector) 461 457 462 458 463 … … 519 524 #self.slicer.update() 520 525 self.draw() 521 522 526 def onCircular(self, event): 527 """ 528 perform circular averaging 529 """ 530 from DataLoader.manipulations import CircularAverage 523 531 def onSector(self, event): 524 532 """ 533 Perform sector averaging 534 """ 525 535 from SectorSlicer import SectorInteractor 526 536 -
guiframe/local_perspectives/plotting/SectorSlicer.py
r917850d r768656e 208 208 params = {} 209 209 params["inner_radius"] = self.inner_circle._inner_mouse_x 210 #params["outer_radius"] = self.outer_circle._inner_mouse_x 210 params["outer_radius"] = self.outer_circle._inner_mouse_x 211 params["phi_min"] = self.inner_radious.get_radious() 212 params["phi_max"] = self.inner_radious.get_radious() 211 213 params["nbins"] = self.nbins 212 214 return params … … 219 221 self.inner_circle.set_cursor(inner, self.inner_circle._inner_mouse_y) 220 222 self.outer_circle.set_cursor(outer, self.outer_circle._inner_mouse_y) 221 #self._post_data()223 self._post_data() 222 224 223 225 def freeze_axes(self):
Note: See TracChangeset
for help on using the changeset viewer.