Changeset a644dc4 in sasview


Ignore:
Timestamp:
Nov 21, 2008 9:23:43 AM (15 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:
7a7bf55
Parents:
b5847bd8
Message:

fixing fitting with add_error

Location:
guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guiframe/dataFitting.py

    r81812d9 ra644dc4  
    1616class Theory1D(plotTheory1D,DataInfo): 
    1717    def __init__(self,x=[],y=[],dy=None,dxl=None, dxw=None): 
    18         Theory1D.__init__(self, x, y, dx) 
     18        plotTheory1D.__init__(self, x, y) 
    1919        self.smearer=None 
    2020        if dxl !=None: 
  • guiframe/data_loader.py

    r81812d9 ra644dc4  
    9494            #print "data_loader",output 
    9595        else: 
    96             if not hasattr(output,"dy"): 
     96            print "output.dx, output.dy",output.dx, output.dy,len(output.dy) 
     97            if len(output.dy) ==0 : 
     98                print "went here theory1D" 
    9799                new_plot = Theory1D(output.x,output.y, dxl, dxw) 
    98100            else: 
Note: See TracChangeset for help on using the changeset viewer.