Changeset 8a6d4af in sasview


Ignore:
Timestamp:
Nov 2, 2009 3:08:08 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
27972c1d
Parents:
ac3041b
Message:

change fitData1D for test_park_scipy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/test/test_park_scipy.py

    reb575b0 r8a6d4af  
    1919         
    2020        out=Loader().load("cyl_400_20.txt") 
    21         data1 = Data1D(x=out.x, y=out.y, dx=out.dx, dy=out.dy) 
    22         data = FitData1D(data1) 
    23          
     21        data = Data1D(x=out.x, y=out.y, dx=out.dx, dy=out.dy) 
    2422        # Receives the type of model for the fitting 
    2523        from sans.models.MultiplicationModel import MultiplicationModel 
     
    5553        self.assertTrue( result1.fitness/len(data.x) < 1.0 ) 
    5654         
    57     
     55        
     56if __name__ == '__main__': 
     57    unittest.main()   
Note: See TracChangeset for help on using the changeset viewer.