Changeset 7705306 in sasview for park_integration
- Timestamp:
- Jun 20, 2008 1:43:12 PM (17 years ago)
- 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
- Location:
- park_integration
- Files:
-
- 7 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/test/testfitting.py
r3701620 r7705306 5 5 from sans.guitools.plottables import Theory1D 6 6 from sans.guitools.plottables import Data1D 7 from FittingModuleimport Parameter7 from sans.fit.ScipyFitting import Parameter 8 8 import math 9 9 class testFitModule(unittest.TestCase): … … 13 13 test module Load 14 14 """ 15 from Loader import Load15 from sans.fit.Loader import Load 16 16 load= Load() 17 17 … … 55 55 """ test fitting for one data and one model""" 56 56 #load data 57 from Loader import Load57 from sans.fit.Loader import Load 58 58 load= Load() 59 59 load.set_filename("testdata_line.txt") … … 63 63 64 64 #Importing the Fit module 65 from Fitting import Fit65 from sans.fit.Fitting import Fit 66 66 fitter= Fit() 67 67 fitter.fit_engine('scipy') … … 104 104 def testfit_2Data_1Model(self): 105 105 """ test fitting for two set of data and one model""" 106 from Loader import Load106 from sans.fit.Loader import Load 107 107 load= Load() 108 108 #Load the first set of data … … 119 119 120 120 #Importing the Fit module 121 from Fitting import Fit121 from sans.fit.Fitting import Fit 122 122 fitter= Fit() 123 123 # Receives the type of model for the fitting
Note: See TracChangeset
for help on using the changeset viewer.