Changeset 7705306 in sasview for park_integration/test


Ignore:
Timestamp:
Jun 20, 2008 1:43:12 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:
559cd63
Parents:
fbe6f71
Message:

UML diagram modified

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/test/testfitting.py

    r3701620 r7705306  
    55from sans.guitools.plottables import Theory1D 
    66from sans.guitools.plottables import Data1D 
    7 from FittingModule import Parameter 
     7from sans.fit.ScipyFitting import Parameter 
    88import math 
    99class testFitModule(unittest.TestCase): 
     
    1313            test module Load 
    1414        """ 
    15         from Loader import Load 
     15        from sans.fit.Loader import Load 
    1616        load= Load() 
    1717         
     
    5555        """ test fitting for one data and one model""" 
    5656        #load data 
    57         from Loader import Load 
     57        from sans.fit.Loader import Load 
    5858        load= Load() 
    5959        load.set_filename("testdata_line.txt") 
     
    6363         
    6464        #Importing the Fit module 
    65         from Fitting import Fit 
     65        from sans.fit.Fitting import Fit 
    6666        fitter= Fit() 
    6767        fitter.fit_engine('scipy') 
     
    104104    def testfit_2Data_1Model(self): 
    105105        """ test fitting for two set of data  and one model""" 
    106         from Loader import Load 
     106        from sans.fit.Loader import Load 
    107107        load= Load() 
    108108        #Load the first set of data 
     
    119119        
    120120        #Importing the Fit module 
    121         from Fitting import Fit 
     121        from sans.fit.Fitting import Fit 
    122122        fitter= Fit() 
    123123        # Receives the type of model for the fitting 
Note: See TracChangeset for help on using the changeset viewer.