Changeset 49b3ddd in sasview for guiframe


Ignore:
Timestamp:
Jul 10, 2008 6:13:46 PM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
159db3b
Parents:
4dd63eb
Message:

loading changed

Location:
guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_loader.py

    r4102709 r49b3ddd  
    6262     
    6363    #Recieves data  
    64     x,y,dy=L.load(path) 
    65     
     64    output=L.load(path) 
     65     
    6666    import numpy 
    6767     
    68     if dy==None: 
    69         new_plot = Theory1D(x, y) 
     68    if output.dy==None: 
     69        new_plot = Theory1D(output.x, output.y) 
    7070    else: 
    71         new_plot = Data1D(x, y, dy=dy) 
     71        new_plot = Data1D(output.x, output.y, dy=output.dy) 
    7272    new_plot.name = name 
    7373    new_plot.interactive = True 
  • guiframe/local_perspectives/plotting/plotting.py

    r9a3adab r49b3ddd  
    6464        self.graph.yaxis("\\rm{Intensity} ","cm^{-1}") 
    6565        self.graph.render(self) 
    66          
     66    
    6767    def _reset(self): 
    6868        """ 
Note: See TracChangeset for help on using the changeset viewer.