Changeset b699768 in sasview for test/sasfit


Ignore:
Timestamp:
Feb 19, 2016 10:07:22 AM (9 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.

Location:
test/sasfit/test
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • test/sasfit/test/batch_fit.py

    racf8e4a5 rb699768  
    22import time 
    33import unittest 
    4 from sas.dataloader.loader import Loader 
    5 from sas.fit.Fitting import BumpsFit as Fit 
     4from sas.sascalc.dataloader.loader import Loader 
     5from sas.sascalc.fit.Fitting import BumpsFit as Fit 
    66from sas.models.CylinderModel import CylinderModel 
    77import sas.models.dispersion_models  
  • test/sasfit/test/utest_fit_cylinder.py

    racf8e4a5 rb699768  
    66import math 
    77 
    8 from sas.fit.AbstractFitEngine import Model 
    9 from sas.fit.BumpsFitting import BumpsFit as Fit 
    10 from sas.dataloader.loader import Loader 
     8from sas.sascalc.fit.AbstractFitEngine import Model 
     9from sas.sascalc.fit.BumpsFitting import BumpsFit as Fit 
     10from sas.sascalc.dataloader.loader import Loader 
    1111 
    1212class TestSingleFit(unittest.TestCase): 
  • test/sasfit/test/utest_fit_line.py

    rbc873053 rb699768  
    66import math 
    77 
    8 from sas.fit.AbstractFitEngine import Model, FitHandler 
    9 from sas.dataloader.loader import Loader 
    10 from sas.fit.BumpsFitting import BumpsFit as Fit 
     8from sas.sascalc.fit.AbstractFitEngine import Model, FitHandler 
     9from sas.sascalc.dataloader.loader import Loader 
     10from sas.sascalc.fit.BumpsFitting import BumpsFit as Fit 
    1111from sas.models.LineModel import LineModel 
    1212from sas.models.Constant import Constant 
  • test/sasfit/test/utest_fit_smeared.py

    rbc873053 rb699768  
    77 
    88import numpy 
    9 from sas.fit.AbstractFitEngine import Model 
    10 from sas.fit.BumpsFitting import BumpsFit as Fit 
    11 from sas.dataloader.loader import Loader 
     9from sas.sascalc.fit.AbstractFitEngine import Model 
     10from sas.sascalc.fit.BumpsFitting import BumpsFit as Fit 
     11from sas.sascalc.dataloader.loader import Loader 
    1212from sas.models.qsmearing import smear_selection 
    1313from sas.models.CylinderModel import CylinderModel 
  • test/sasfit/test/utest_multiplicative_model.py

    racf8e4a5 rb699768  
    66import math 
    77 
    8 from sas.dataloader.data_info import Data1D  
    9 from sas.fit.AbstractFitEngine import Model,FitData1D 
    10 from sas.fit.BumpsFitting import BumpsFit as Fit 
    11 from sas.dataloader.loader import Loader 
     8from sas.sascalc.dataloader.data_info import Data1D  
     9from sas.sascalc.fit.AbstractFitEngine import Model,FitData1D 
     10from sas.sascalc.fit.BumpsFitting import BumpsFit as Fit 
     11from sas.sascalc.dataloader.loader import Loader 
    1212from sas.models.MultiplicationModel import MultiplicationModel 
    1313from sas.models.CylinderModel import CylinderModel 
  • test/sasfit/test/utest_small_test.py

    racf8e4a5 rb699768  
    44import unittest 
    55import math 
    6 from sas.fit.BumpsFitting import BumpsFit as Fit 
    7 from sas.dataloader.loader import Loader 
     6from sas.sascalc.fit.BumpsFitting import BumpsFit as Fit 
     7from sas.sascalc.dataloader.loader import Loader 
    88import bumps.fitters 
    99bumps.fitters.FIT_DEFAULT = 'lm' 
Note: See TracChangeset for help on using the changeset viewer.