Ignore:
Timestamp:
Feb 19, 2016 10:07:22 AM (8 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
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:
d7bb526
Parents:
792e6be
Message:

Initial commit of the refactored SasCalc? module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/sasdataloader/test/utest_averaging.py

    ra10364b rb699768  
    22import unittest 
    33 
    4 from sas.dataloader.loader import  Loader 
    5 from sas.dataloader.manipulations import Ring, CircularAverage, SectorPhi, get_q,reader2D_converter 
     4from sas.sascalc.dataloader.loader import  Loader 
     5from sas.sascalc.dataloader.manipulations import Ring, CircularAverage, SectorPhi, get_q,reader2D_converter 
    66  
    77import os.path 
    88import numpy, math 
    9 import sas.dataloader.data_info as data_info 
     9import sas.sascalc.dataloader.data_info as data_info 
    1010 
    1111class Averaging(unittest.TestCase): 
     
    139139            The test data was not generated by IGOR. 
    140140        """ 
    141         from sas.dataloader.manipulations import Boxsum, Boxavg 
     141        from sas.sascalc.dataloader.manipulations import Boxsum, Boxavg 
    142142         
    143143        r = Boxsum(x_min=.01, x_max=.015, y_min=0.01, y_max=0.015) 
     
    157157            The test data was not generated by IGOR. 
    158158        """ 
    159         from sas.dataloader.manipulations import SlabX 
     159        from sas.sascalc.dataloader.manipulations import SlabX 
    160160         
    161161        r = SlabX(x_min=-.01, x_max=.01, y_min=-0.0002, y_max=0.0002, bin_width=0.0004) 
     
    174174            The test data was not generated by IGOR. 
    175175        """ 
    176         from sas.dataloader.manipulations import SlabY 
     176        from sas.sascalc.dataloader.manipulations import SlabY 
    177177         
    178178        r = SlabY(x_min=.005, x_max=.01, y_min=-0.01, y_max=0.01, bin_width=0.0004) 
     
    193193            The test data was not generated by IGOR. 
    194194        """ 
    195         from sas.dataloader.manipulations import SectorPhi 
     195        from sas.sascalc.dataloader.manipulations import SectorPhi 
    196196        import math 
    197197         
     
    218218            The test data was not generated by IGOR. 
    219219        """ 
    220         from sas.dataloader.manipulations import SectorPhi 
     220        from sas.sascalc.dataloader.manipulations import SectorPhi 
    221221        import math 
    222222         
     
    236236            The test data was not generated by IGOR. 
    237237        """ 
    238         from sas.dataloader.manipulations import SectorQ 
     238        from sas.sascalc.dataloader.manipulations import SectorQ 
    239239        import math 
    240240         
Note: See TracChangeset for help on using the changeset viewer.