Changeset 8c9ffde in sasview for test/sasinvariant


Ignore:
Timestamp:
Feb 13, 2015 4:01:33 AM (10 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:
35ec279
Parents:
3a39c2e
Message:

Found more folders with the name sans and about 50% done converting
all test files.

Location:
test/sasinvariant/test
Files:
7 moved

Legend:

Unmodified
Added
Removed
  • test/sasinvariant/test/utest_data_handling.py

    rbe577e7 r8c9ffde  
    1010import unittest 
    1111import numpy, math 
    12 from sans.dataloader.loader import  Loader 
    13 from sans.dataloader.data_info import Data1D 
    14 from sans.invariant import invariant 
     12from sas.dataloader.loader import  Loader 
     13from sas.dataloader.data_info import Data1D 
     14from sas.invariant import invariant 
    1515     
    1616class TestLinearFit(unittest.TestCase): 
     
    196196        delta_qs_extr, delta_dqs_extr = inv.get_qstar_low() 
    197197         
    198         # A fit using SansView gives 0.0655 for the value of the exponent 
     198        # A fit using SasView gives 0.0655 for the value of the exponent 
    199199        self.assertAlmostEqual(inv._low_extrapolation_function.power, 0.0655, 3) 
    200200         
     
    237237        delta_qs_extr, delta_dqs_extr = inv.get_qstar_high() 
    238238         
    239         # From previous analysis using SansView, we expect an exponent of about 3  
     239        # From previous analysis using SasView, we expect an exponent of about 3  
    240240        self.assertTrue(math.fabs(inv._high_extrapolation_function.power-3)<0.1) 
    241241         
  • test/sasinvariant/test/utest_use_cases.py

    r5777106 r8c9ffde  
    66import unittest 
    77import numpy 
    8 from sans.dataloader.loader import  Loader 
    9 from sans.invariant import invariant 
     8from sas.dataloader.loader import  Loader 
     9from sas.invariant import invariant 
    1010 
    1111class Data1D: 
Note: See TracChangeset for help on using the changeset viewer.