Changeset 0957dbdb in sasview for Invariant


Ignore:
Timestamp:
Dec 17, 2009 5:44:22 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
a208464
Parents:
68a2c31
Message:

corrections on the values in pinhole use case3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Invariant/test/utest_use_cases.py

    r68a2c31 r0957dbdb  
    342342        # Get the volume fraction and surface 
    343343        v, dv = inv.get_volume_fraction_with_error(contrast=2.6e-6) 
    344         s, ds = inv.get_surface_with_error(contrast=1.0, porod_const=0.08) 
     344        s, ds = inv.get_surface_with_error(contrast=2.6e-6, porod_const=2) 
    345345         
    346346        # Test results 
    347347        self.assertAlmostEquals(qstar, 0.00138756,2) 
    348         self.assertAlmostEquals(v, 0.115352622) 
    349         self.assertAlmostEquals(s + _ERR_SURFACE, 9.42e+2, 1) 
     348        self.assertAlmostEquals(v, 0.117226896,2) 
     349        self.assertAlmostEquals(s + _ERR_SURFACE, 9.42E+02, 1) 
    350350       
    351351    def test_use_case_4(self): 
Note: See TracChangeset for help on using the changeset viewer.