Changeset ca3b9c5d in sasview for sansdataloader/test/utest_averaging.py
- Timestamp:
- Aug 9, 2011 11:18:55 AM (13 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:
- 804dd60
- Parents:
- d075f58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansdataloader/test/utest_averaging.py
raab4e15 rca3b9c5d 2 2 import unittest 3 3 4 from DataLoader.loader import Loader5 from DataLoader.manipulations import Ring, CircularAverage, SectorPhi, get_q,reader2D_converter4 from sans.dataloader.loader import Loader 5 from sans.dataloader.manipulations import Ring, CircularAverage, SectorPhi, get_q,reader2D_converter 6 6 7 7 import os.path 8 8 import numpy, math 9 import DataLoader.data_info as data_info9 import sans.dataloader.data_info as data_info 10 10 11 11 class Averaging(unittest.TestCase): … … 136 136 The test data was not generated by IGOR. 137 137 """ 138 from DataLoader.manipulations import Boxsum, Boxavg138 from sans.dataloader.manipulations import Boxsum, Boxavg 139 139 140 140 r = Boxsum(x_min=.01, x_max=.015, y_min=0.01, y_max=0.015) … … 153 153 The test data was not generated by IGOR. 154 154 """ 155 from DataLoader.manipulations import SlabX155 from sans.dataloader.manipulations import SlabX 156 156 157 157 r = SlabX(x_min=-.01, x_max=.01, y_min=-0.0002, y_max=0.0002, bin_width=0.0004) … … 170 170 The test data was not generated by IGOR. 171 171 """ 172 from DataLoader.manipulations import SlabY172 from sans.dataloader.manipulations import SlabY 173 173 174 174 r = SlabY(x_min=.005, x_max=.01, y_min=-0.01, y_max=0.01, bin_width=0.0004) … … 189 189 The test data was not generated by IGOR. 190 190 """ 191 from DataLoader.manipulations import SectorPhi191 from sans.dataloader.manipulations import SectorPhi 192 192 import math 193 193 … … 207 207 The test data was not generated by IGOR. 208 208 """ 209 from DataLoader.manipulations import SectorPhi209 from sans.dataloader.manipulations import SectorPhi 210 210 import math 211 211 … … 225 225 The test data was not generated by IGOR. 226 226 """ 227 from DataLoader.manipulations import SectorQ227 from sans.dataloader.manipulations import SectorQ 228 228 import math 229 229
Note: See TracChangeset
for help on using the changeset viewer.