Ignore:
Timestamp:
Feb 20, 2015 3:02:38 AM (9 years ago)
Author:
pkienzle
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:
cda1cf8
Parents:
018582f
Message:

remove scipy levenburg marquardt and park from ui

File:
1 edited

Legend:

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

    r35ec279 r386ffe1  
    1717    """ test fitting """ 
    1818     
    19     def test_scipy(self): 
    20         """ Simple cylinder model fit (scipy) """ 
     19    def test_without_resolution(self): 
     20        """ Simple cylinder model fit """ 
    2121         
    2222        out=Loader().load("cyl_400_20.txt") 
     
    2424        #out.dy = out.y 
    2525         
    26         fitter = Fit('scipy') 
     26        fitter = Fit('bumps') 
    2727        fitter.set_data(out,1) 
    2828         
     
    5353        self.assertTrue( result1.fitness < 1.0 ) 
    5454 
    55     def test_park_dispersion(self): 
    56         """ 
    57             Cylinder fit with dispersion 
    58         """ 
    59         self._dispersion(fitter = Fit('park')) 
    60  
    61     def test_bumps_dispersion(self): 
     55    def test_dispersion(self): 
    6256        """ 
    6357            Cylinder fit with dispersion 
     
    6963        fitters.FIT_OPTIONS[alg].options.update(monitors=[]) 
    7064        self._dispersion(fitter = Fit('bumps')) 
    71  
    72     def test_scipy_dispersion(self): 
    73         """ 
    74             Cylinder fit with dispersion 
    75         """ 
    76         self._dispersion(fitter = Fit('scipy')) 
    7765 
    7866    def _dispersion(self, fitter): 
     
    148136 
    149137        # Fit 
    150         fitter = Fit('scipy') 
     138        fitter = Fit('bumps') 
    151139         
    152140        # Data: right now this is the only way to set the smearer object 
     
    179167        self.assertEqual(smear.__class__.__name__, 'SlitSmearer') 
    180168 
    181         fitter = Fit('scipy') 
     169        fitter = Fit('bumps') 
    182170         
    183171        # Data: right now this is the only way to set the smearer object 
Note: See TracChangeset for help on using the changeset viewer.