Changeset 3a39c2e in sasview for src/examples


Ignore:
Timestamp:
Feb 13, 2015 3:53:03 AM (10 years ago)
Author:
krzywon
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:
8c9ffde
Parents:
79492222
Message:

Next iteration of the SANS→SAS is complete.

Location:
src/examples
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/examples/test_chisq_panel.py

    rf468791 r3a39c2e  
    2727 
    2828import wx 
    29 from sans.plottools.PlotPanel import PlotPanel 
    30 from sans.plottools.plottables import Plottable, Graph, Data1D, Theory1D 
     29from sas.plottools.PlotPanel import PlotPanel 
     30from sas.plottools.plottables import Plottable, Graph, Data1D, Theory1D 
    3131import  sys 
    3232import numpy 
     
    8686        dy = numpy.sqrt(100*numpy.abs(y))/100 
    8787 
    88     from sans.plottools.plottables import Data1D, Theory1D, Chisq , Graph 
     88    from sas.plottools.plottables import Data1D, Theory1D, Chisq , Graph 
    8989    data = Data1D(x,y,dy=dy) 
    9090    data.xaxis('distance', 'm') 
  • src/examples/test_copy_print.py

    rf468791 r3a39c2e  
    2626 
    2727import wx 
    28 from sans.plottools.PlotPanel import PlotPanel 
    29 from sans.plottools.plottables import Graph, Data1D, Theory1D 
     28from sas.plottools.PlotPanel import PlotPanel 
     29from sas.plottools.plottables import Graph, Data1D, Theory1D 
    3030import  sys 
    3131sys.platform = 'win95' 
  • src/examples/test_panel.py

    rf468791 r3a39c2e  
    11""" 
    22    Test application that uses plottools 
    3     This application uses most of the functionality required by the SANS group 
     3    This application uses most of the functionality required by the SAS group 
    44    and should be treated as a test-case representative of that use. 
    55     
     
    3737""" 
    3838import wx 
    39 from sans.plottools.PlotPanel import PlotPanel 
    40 from sans.plottools.plottables import Data1D 
     39from sas.plottools.PlotPanel import PlotPanel 
     40from sas.plottools.plottables import Data1D 
    4141import  sys 
    4242import numpy 
     
    4444 
    4545 
    46 class SANSplotpanel(PlotPanel): 
     46class SASplotpanel(PlotPanel): 
    4747     
    4848    def __init__(self, parent, id = -1, color = None,\ 
     
    9494         
    9595        # Panel for 1D plot 
    96         self.plotpanel    = SANSplotpanel(self, -1, style=wx.RAISED_BORDER) 
     96        self.plotpanel    = SASplotpanel(self, -1, style=wx.RAISED_BORDER) 
    9797 
    9898        # Set up the menu 
  • src/examples/test_panel2D.py

    rf468791 r3a39c2e  
    11""" 
    22    Test application that uses plottools 
    3     This application uses most of the functionality required by the SANS group 
     3    This application uses most of the functionality required by the SAS group 
    44    and should be treated as a test-case representative of that use. 
    55     
     
    3737""" 
    3838import wx 
    39 from sans.plottools.PlotPanel import PlotPanel 
    40 from sans.plottools.plottables import Data1D, Theory1D, Data2D 
     39from sas.plottools.PlotPanel import PlotPanel 
     40from sas.plottools.plottables import Data1D, Theory1D, Data2D 
    4141import  sys,os 
    4242import numpy 
     
    4444 
    4545 
    46 class SANSplotpanel(PlotPanel): 
     46class SASplotpanel(PlotPanel): 
    4747     
    4848    def __init__(self, parent, id = -1, color = None,\ 
     
    136136         
    137137        # Panel for 1D plot 
    138         self.plotpanel    = SANSplotpanel(self, -1, style=wx.RAISED_BORDER) 
     138        self.plotpanel    = SASplotpanel(self, -1, style=wx.RAISED_BORDER) 
    139139 
    140140        # Set up the menu 
     
    200200            path = dlg.GetPath() 
    201201            mypath = os.path.basename(path) 
    202             from sans.dataloader.loader import  Loader 
     202            from sas.dataloader.loader import  Loader 
    203203            
    204204            #Instantiate a loader  
  • src/examples/test_text_panel.py

    rf468791 r3a39c2e  
    2727 
    2828import wx 
    29 from sans.plottools.PlotPanel import PlotPanel 
    30 from sans.plottools.plottables import Text, Graph 
     29from sas.plottools.PlotPanel import PlotPanel 
     30from sas.plottools.plottables import Text, Graph 
    3131 
    3232class TestPlotPanel(PlotPanel): 
Note: See TracChangeset for help on using the changeset viewer.