Changeset 35ec279 in sasview for test/park_integration/test/utest_fit_cylinder.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_cylinder.py
reff93b8 r35ec279 6 6 import math 7 7 8 from sa ns.fit.AbstractFitEngine import Model9 from sa ns.fit.Fitting import Fit10 from sa ns.dataloader.loader import Loader8 from sas.fit.AbstractFitEngine import Model 9 from sas.fit.Fitting import Fit 10 from sas.dataloader.loader import Loader 11 11 12 12 #@unittest.skip("") … … 17 17 self.data = Loader().load("cyl_400_20.txt") 18 18 # Create model that fitting engine understands 19 from sa ns.models.CylinderModel import CylinderModel19 from sas.models.CylinderModel import CylinderModel 20 20 self.model = CylinderModel() 21 21 self.model.setParam("scale", 1.0) … … 70 70 71 71 # Receives the type of model for the fitting 72 from sa ns.models.CylinderModel import CylinderModel72 from sas.models.CylinderModel import CylinderModel 73 73 cyl1 = CylinderModel() 74 74 cyl1.name = "C1"
Note: See TracChangeset
for help on using the changeset viewer.