Changeset 35ec279 in sasview for test/sasdataloader/test/utest_averaging.py
- Timestamp:
- Feb 13, 2015 2:08:43 AM (9 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:
- b9a5f0e
- Parents:
- 8c9ffde
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/sasdataloader/test/utest_averaging.py
r8c9ffde r35ec279 2 2 import unittest 3 3 4 from sa ns.dataloader.loader import Loader5 from sa ns.dataloader.manipulations import Ring, CircularAverage, SectorPhi, get_q,reader2D_converter4 from sas.dataloader.loader import Loader 5 from sas.dataloader.manipulations import Ring, CircularAverage, SectorPhi, get_q,reader2D_converter 6 6 7 7 import os.path 8 8 import numpy, math 9 import sa ns.dataloader.data_info as data_info9 import sas.dataloader.data_info as data_info 10 10 11 11 class Averaging(unittest.TestCase): … … 137 137 The test data was not generated by IGOR. 138 138 """ 139 from sa ns.dataloader.manipulations import Boxsum, Boxavg139 from sas.dataloader.manipulations import Boxsum, Boxavg 140 140 141 141 r = Boxsum(x_min=.01, x_max=.015, y_min=0.01, y_max=0.015) … … 155 155 The test data was not generated by IGOR. 156 156 """ 157 from sa ns.dataloader.manipulations import SlabX157 from sas.dataloader.manipulations import SlabX 158 158 159 159 r = SlabX(x_min=-.01, x_max=.01, y_min=-0.0002, y_max=0.0002, bin_width=0.0004) … … 172 172 The test data was not generated by IGOR. 173 173 """ 174 from sa ns.dataloader.manipulations import SlabY174 from sas.dataloader.manipulations import SlabY 175 175 176 176 r = SlabY(x_min=.005, x_max=.01, y_min=-0.01, y_max=0.01, bin_width=0.0004) … … 191 191 The test data was not generated by IGOR. 192 192 """ 193 from sa ns.dataloader.manipulations import SectorPhi193 from sas.dataloader.manipulations import SectorPhi 194 194 import math 195 195 … … 209 209 The test data was not generated by IGOR. 210 210 """ 211 from sa ns.dataloader.manipulations import SectorPhi211 from sas.dataloader.manipulations import SectorPhi 212 212 import math 213 213 … … 227 227 The test data was not generated by IGOR. 228 228 """ 229 from sa ns.dataloader.manipulations import SectorQ229 from sas.dataloader.manipulations import SectorQ 230 230 import math 231 231
Note: See TracChangeset
for help on using the changeset viewer.