Changeset 3a473ef in sasview for test/pr_inversion/test/utest_explorer.py
- Timestamp:
- Aug 31, 2018 5:13:23 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- c1cfa80
- Parents:
- aa1db44
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/pr_inversion/test/utest_explorer.py
r959eb01 r3a473ef 3 3 """ 4 4 5 import os.path 5 6 import unittest, math, numpy 6 7 from utest_invertor import load 7 8 from sas.sascalc.pr.invertor import Invertor 8 9 from sas.sascalc.pr.distance_explorer import DistExplorer 9 10 11 12 def find(filename): 13 return os.path.join(os.path.dirname(__file__), filename) 14 15 10 16 class TestExplorer(unittest.TestCase): 11 17 12 18 def setUp(self): 13 19 self.invertor = Invertor() 14 x, y, err = load( 'sphere_80.txt')20 x, y, err = load(find('sphere_80.txt')) 15 21 16 22 # Choose the right d_max...
Note: See TracChangeset
for help on using the changeset viewer.