Changeset acb1ad1 in sasview


Ignore:
Timestamp:
Jul 18, 2008 3:36:55 PM (16 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
a3084ada
Parents:
202f93a
Message:

allow multiple loaded data plots

Location:
guiframe
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_loader.py

    r03a20aa racb1ad1  
    77        location = os.getcwd() 
    88        
    9     dlg = wx.FileDialog(parent, "Choose a file", location, "","*", wx.OPEN) 
     9    dlg = wx.FileDialog(parent, "Choose a file", location, "","*.*", wx.OPEN) 
    1010    if dlg.ShowModal() == wx.ID_OK: 
    1111        path = dlg.GetPath() 
     
    7171    else: 
    7272        new_plot = Data1D(output.x, output.y, dy=output.dy) 
     73         
     74    filename = os.path.basename(path) 
     75         
    7376    new_plot.name = name 
    7477    new_plot.interactive = True 
     
    7780    new_plot.xaxis("\\rm{Q}", 'A^{-1}') 
    7881    new_plot.yaxis("\\rm{Intensity} ","cm^{-1}") 
     82    new_plot.group_id = filename 
    7983         
    80     wx.PostEvent(parent, NewPlotEvent(plot=new_plot, title="Loaded data")) 
     84    wx.PostEvent(parent, NewPlotEvent(plot=new_plot, title=filename)) 
  • guiframe/gui_manager.py

    r75b40ce racb1ad1  
    685685            @param panels: list of panels 
    686686        """ 
    687         print "gui_mng.set_perspective" 
    688687        for item in self.panels: 
    689688            # Check whether this is a sticky panel 
  • guiframe/license.txt

    r41d466f racb1ad1  
    77the following paper in your publication: 
    88 
    9 P. Butler, M. Doucet, G. Alina, J. Zhou, "SANS analysis software",  
    10 to be published. 
     9P. Butler, M. Doucet, G. Alina, R. Cortes Hernandez, J. Zhou, P. Kienzle, 
     10"SANS analysis software", to be published. 
    1111 
    1212See the DANSE project web site for license information: 
Note: See TracChangeset for help on using the changeset viewer.