Changeset 35ec279 in sasview for test/park_integration/test/utest_fit_smeared.py
- Timestamp:
- Feb 13, 2015 2:08:43 AM (9 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:
- b9a5f0e
- Parents:
- 8c9ffde
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/park_integration/test/utest_fit_smeared.py
re3efa6b3 r35ec279 7 7 8 8 import numpy 9 from sa ns.fit.AbstractFitEngine import Model10 from sa ns.fit.Fitting import Fit11 from sa ns.dataloader.loader import Loader12 from sa ns.models.qsmearing import smear_selection13 from sa ns.models.CylinderModel import CylinderModel14 from sa ns.models.SphereModel import SphereModel9 from sas.fit.AbstractFitEngine import Model 10 from sas.fit.Fitting import Fit 11 from sas.dataloader.loader import Loader 12 from sas.models.qsmearing import smear_selection 13 from sas.models.CylinderModel import CylinderModel 14 from sas.models.SphereModel import SphereModel 15 15 16 16 class testFitModule(unittest.TestCase): … … 157 157 158 158 # Model: maybe there's a better way to do this. 159 # Ideally we should have to create a new model from our sa ns model.159 # Ideally we should have to create a new model from our sas model. 160 160 fitter.set_model(Model(self.sphere),1, ['radius','scale', 'background']) 161 161
Note: See TracChangeset
for help on using the changeset viewer.