Ignore:
Timestamp:
Feb 13, 2015 2:08:43 AM (9 years ago)
Author:
krzywon
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
Message:

Completed the SANS to SAS conversion on the tests. src.sas is left.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/park_integration/test/utest_fit_smeared.py

    re3efa6b3 r35ec279  
    77 
    88import numpy 
    9 from sans.fit.AbstractFitEngine import Model 
    10 from sans.fit.Fitting import Fit 
    11 from sans.dataloader.loader import Loader 
    12 from sans.models.qsmearing import smear_selection 
    13 from sans.models.CylinderModel import CylinderModel 
    14 from sans.models.SphereModel import SphereModel 
     9from sas.fit.AbstractFitEngine import Model 
     10from sas.fit.Fitting import Fit 
     11from sas.dataloader.loader import Loader 
     12from sas.models.qsmearing import smear_selection 
     13from sas.models.CylinderModel import CylinderModel 
     14from sas.models.SphereModel import SphereModel 
    1515 
    1616class testFitModule(unittest.TestCase): 
     
    157157 
    158158        # Model: maybe there's a better way to do this. 
    159         # Ideally we should have to create a new model from our sans model. 
     159        # Ideally we should have to create a new model from our sas model. 
    160160        fitter.set_model(Model(self.sphere),1, ['radius','scale', 'background']) 
    161161         
Note: See TracChangeset for help on using the changeset viewer.