Changeset 13382fc7 in sasview for sansguiframe/src/sans/guiframe


Ignore:
Timestamp:
Sep 12, 2011 6:44:03 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
656d65d
Parents:
cfcb7197
Message:

update average to the data explorer

Location:
sansguiframe/src/sans/guiframe/local_perspectives/plotting
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/AnnulusSlicer.py

    rdb7a82e r13382fc7  
    171171        new_plot.xtransform = "x" 
    172172        new_plot.ytransform = "y" 
     173        self.base.parent.update_theory(data_id=data.id, theory=new_plot) 
    173174        wx.PostEvent(self.base.parent, NewPlotEvent(plot=new_plot, 
    174175                                                 title="AnnulusPhi")) 
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/AzimutSlicer.py

    rdb7a82e r13382fc7  
    200200        new_plot.yaxis("\\rm{Intensity} ", "cm^{-1}") 
    201201        new_plot.group_id = str(new_sector.__name__) + self.base.data2D.name 
     202        self.base.parent.update_theory(data_id=self.base.data2D.id, \ 
     203                                       theory=new_plot) 
    202204        wx.PostEvent(self.base.parent, 
    203205                    NewPlotEvent(plot=new_plot, title=str(new_sector.__name__))) 
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter2D.py

    rc553b18 r13382fc7  
    634634        new_plot.id = "Circ avg " + self.data2D.name 
    635635        new_plot.is_data = True 
     636        self.parent.update_theory(data_id=self.data2D, \ 
     637                                       theory=new_plot) 
    636638        wx.PostEvent(self.parent,  
    637639                     NewPlotEvent(plot=new_plot, title=new_plot.name)) 
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/SectorSlicer.py

    rdb7a82e r13382fc7  
    186186        new_plot.id = None 
    187187        new_plot.is_data = True 
    188  
     188        self.base.parent.update_theory(data_id=data, \ 
     189                                       theory=new_plot) 
    189190        wx.PostEvent(self.base.parent, NewPlotEvent(plot=new_plot, 
    190191                                    title="SectorQ" + self.base.data2D.name)) 
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/boxSlicer.py

    rdb7a82e r13382fc7  
    201201        #new_plot.id = str(self.averager.__name__) 
    202202        #new_plot.is_data= True 
     203        self.base.parent.update_theory(data_id=self.base.data2D.id, \ 
     204                                       theory=new_plot) 
    203205        wx.PostEvent(self.base.parent, NewPlotEvent(plot=new_plot, 
    204206                                title=str(self.averager.__name__))) 
Note: See TracChangeset for help on using the changeset viewer.