Changeset 385d464 in sasview for park_integration
- Timestamp:
- Oct 9, 2008 2:36:42 PM (16 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:
- 6f73a08
- Parents:
- 7d0c1a8
- Location:
- park_integration/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/test/small_test.py
r8bbab51 r385d464 5 5 from sans.guitools.plottables import Theory1D 6 6 from sans.guitools.plottables import Data1D 7 from sans.fit.AbstractFitEngine import Data, Model 7 from sans.fit.AbstractFitEngine import Data, Model,FitData1D 8 8 import math 9 9 from sans.fit.Fitting import Fit … … 23 23 model1 = CylinderModel() 24 24 model1.setParam('contrast', 1) 25 data = Data(sans_data=data1) 25 #data = Data(sans_data=data1) 26 data = FitData1D(data1) 26 27 model = Model(model1) 27 28 -
park_integration/test/test_fit_cylinder.py
r8bbab51 r385d464 5 5 from sans.guitools.plottables import Theory1D 6 6 from sans.guitools.plottables import Data1D 7 from sans.fit.AbstractFitEngine import Data, Model 7 from sans.fit.AbstractFitEngine import Data, Model,FitData1D 8 8 import math 9 9 from sans.fit.Fitting import Fit … … 24 24 model1 = CylinderModel() 25 25 model1.setParam('contrast', 1) 26 data = Data(sans_data=data1) 26 #data = Data(sans_data=data1) 27 data = FitData1D(data1) 27 28 model = Model(model1) 28 29 … … 54 55 model1 = CylinderModel() 55 56 56 data = Data(sans_data=data1) 57 #data = Data(sans_data=data1) 58 data = FitData1D(data1) 57 59 model = Model(model1) 58 60 … … 91 93 cyl1.name = "C1" 92 94 93 data1 = Data(sans_data=data1) 95 #data1 = Data(sans_data=data1) 96 data1 = FitData1D(data1) 94 97 model1 = Model(cyl1) 95 98 model1.set(contrast=1) … … 101 104 cyl2.name = "C2" 102 105 103 data2 = Data(sans_data=data2) 106 #data2 = Data(sans_data=data2) 107 data2 = FitData1D(data2) 104 108 # This is wrong. We should not store string as 105 109 # parameter values
Note: See TracChangeset
for help on using the changeset viewer.