Changeset b699768 in sasview for test/sasdataloader/test/utest_averaging.py
- Timestamp:
- Feb 19, 2016 10:07:22 AM (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/sasdataloader/test/utest_averaging.py
ra10364b rb699768 2 2 import unittest 3 3 4 from sas. dataloader.loader import Loader5 from sas. dataloader.manipulations import Ring, CircularAverage, SectorPhi, get_q,reader2D_converter4 from sas.sascalc.dataloader.loader import Loader 5 from sas.sascalc.dataloader.manipulations import Ring, CircularAverage, SectorPhi, get_q,reader2D_converter 6 6 7 7 import os.path 8 8 import numpy, math 9 import sas. dataloader.data_info as data_info9 import sas.sascalc.dataloader.data_info as data_info 10 10 11 11 class Averaging(unittest.TestCase): … … 139 139 The test data was not generated by IGOR. 140 140 """ 141 from sas. dataloader.manipulations import Boxsum, Boxavg141 from sas.sascalc.dataloader.manipulations import Boxsum, Boxavg 142 142 143 143 r = Boxsum(x_min=.01, x_max=.015, y_min=0.01, y_max=0.015) … … 157 157 The test data was not generated by IGOR. 158 158 """ 159 from sas. dataloader.manipulations import SlabX159 from sas.sascalc.dataloader.manipulations import SlabX 160 160 161 161 r = SlabX(x_min=-.01, x_max=.01, y_min=-0.0002, y_max=0.0002, bin_width=0.0004) … … 174 174 The test data was not generated by IGOR. 175 175 """ 176 from sas. dataloader.manipulations import SlabY176 from sas.sascalc.dataloader.manipulations import SlabY 177 177 178 178 r = SlabY(x_min=.005, x_max=.01, y_min=-0.01, y_max=0.01, bin_width=0.0004) … … 193 193 The test data was not generated by IGOR. 194 194 """ 195 from sas. dataloader.manipulations import SectorPhi195 from sas.sascalc.dataloader.manipulations import SectorPhi 196 196 import math 197 197 … … 218 218 The test data was not generated by IGOR. 219 219 """ 220 from sas. dataloader.manipulations import SectorPhi220 from sas.sascalc.dataloader.manipulations import SectorPhi 221 221 import math 222 222 … … 236 236 The test data was not generated by IGOR. 237 237 """ 238 from sas. dataloader.manipulations import SectorQ238 from sas.sascalc.dataloader.manipulations import SectorQ 239 239 import math 240 240
Note: See TracChangeset
for help on using the changeset viewer.