Exemple #1
0
 def test_use_in_fit(self):
     workspace = create_test_workspace(
         create_model("MsdGauss", Height=1.0, MSD=0.05), 1000)
     function_string = create_function_string("MsdGauss",
                                              Height=1.0,
                                              MSD=0.05)
     Fit(Function=function_string,
         InputWorkspace=workspace,
         StartX=1.2,
         EndX=1200)
Exemple #2
0
 def test_use_in_fit(self):
     workspace = create_test_workspace(
         create_model(
             "MsdYi",
             Height=1.0,
             Msd=0.05,
             Sigma=1.0),
         1000)
     function_string = create_function_string(
         "MsdYi", Height=1.0, Msd=0.05, Sigma=1.0)
     Fit(Function=function_string,
         InputWorkspace=workspace,
         StartX=1.2,
         EndX=1200)