Changeset 52ac10b in sasview
- Timestamp:
- Nov 19, 2008 10:26:45 AM (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:
- b5847bd8
- Parents:
- b710eb7
- Location:
- park_integration
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/AbstractFitEngine.py
r5fcfca4 r52ac10b 191 191 """ 192 192 ## Smearing object 193 self.smearer = sans_data1d.smearer 193 try: 194 self.smearer = sans_data1d.smearer 195 except: 196 self.smearer= None 194 197 195 198 # Initialize from Data1D object -
park_integration/test/test_fit_line.py
raf4af5a r52ac10b 19 19 fitter = Fit('scipy') 20 20 # Receives the type of model for the fitting 21 from sans. guitools.LineModel import LineModel21 from sans.models.LineModel import LineModel 22 22 model1 = LineModel() 23 23 model1.name = "M1" 24 24 #data = Data(sans_data=data1 ) 25 data1.smearer=None25 #data1.smearer=None 26 26 data = FitData1D(data1 ) 27 27 model = Model(model1) … … 83 83 fitter = Fit('scipy') 84 84 # Receives the type of model for the fitting 85 from sans. guitools.LineModel import LineModel85 from sans.models.LineModel import LineModel 86 86 model11 = LineModel() 87 87 model11.name= "M1" … … 147 147 fitter = Fit('park') 148 148 # Receives the type of model for the fitting 149 from sans. guitools.LineModel import LineModel149 from sans.models.LineModel import LineModel 150 150 from sans.models.Constant import Constant 151 151 model11 = LineModel() … … 199 199 fitter = Fit('scipy') 200 200 # Receives the type of model for the fitting 201 from sans. guitools.LineModel import LineModel201 from sans.models.LineModel import LineModel 202 202 model1 = LineModel() 203 203 model1.name= "M1"
Note: See TracChangeset
for help on using the changeset viewer.