source: sasview/park_integration/docs/use-cases.txt @ 14e4804

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 14e4804 was ca6d914, checked in by Gervaise Alina <gervyh@…>, 16 years ago

some bugs fixed

  • Property mode set to 100644
File size: 3.9 KB
Line 
11.      Use Case 1: 1 data set and 1 model
2
3This use case describes an application (the client) performing a fit on a single
4data set with a single model.
5
61.1.    Flow of Events
71.1.1.  Basic Flow
81.1.1.1.        The client chooses a data set to fit.
91.1.1.2.        The client chooses a model to use.
101.1.1.3.        The client enters the initial parameters of the model.
111.1.1.4.        The client starts the fit.
121.1.1.5.        The client reads back the fit results from the fitting object.
13
14
151.1.2.  Alternative Flows
16
17Any of the following actions can take place:
18
191.1.2.1.        The client does not enter initial parameters
20
21
221.1.3. Error Conditions
231.1.3.1.        The user does not choose a data set before starting the fit.
241.1.3.2.        The user does not choose a model before starting the fit.
251.1.3.3.        the user does not specify the list of parameter to fit
261.1.3.4.        the user enters a list of parameters that do not belong to the model
27
28
291.2.    Special requirements
301.2.1.  Preconditions
31None
32
331.2.2.  Post Conditions
34The client now has a fitting object that contains the results of his fit.
35He can modify that object and perform another fit.
36It will be possible for him to use the fit output as the initial parameters
37for any subsequent fit.
38
39
402.      Use Case 2: 2 data sets and 1 model
41
42This use case describes an application (the client) performing a fit on multiple
43data sets with a single model.
44
452.1.    Flow of Events
462.1.1.  Basic Flow
472.1.1.1.        The client chooses two data sets to fit.
482.1.1.2.        The client chooses a model to use.
492.1.1.3.        The client enters the initial parameters of the model.
502.1.1.4.        The client starts the fit.
512.1.1.5.        The client reads back the fit results from the fitting object.
52
53
542.1.2.  Alternative Flows
55
56Any of the following actions can take place:
57
582.1.2.1.        The client does not enter initial parameters
592.1.2.2.        the user enters a list of parameters not belonging to the model
60
61
622.1.3. Error Conditions
632.1.3.1.        The user does not choose a data set before starting the fit.
642.1.3.2.        The user does not choose a model before starting the fit.
65
66
672.2.    Special requirements
682.2.1.  Preconditions
69None
70
712.2.2.  Post Conditions
72The client now has a fitting object that contains the results of his fit.
73He can modify that object and perform another fit.
74It will be possible for him to use the fit output as the initial parameters
75for any subsequent fit.
76
77
783.      Use Case 3: 2 data sets, 2 models and one constraint
79
80This use case describes an application (the client) performing a fit on multiple
81data sets with a single model.
82
833.1.    Flow of Events
843.1.1.  Basic Flow
853.1.1.1.        The client chooses two data sets to fit.
863.1.1.2.        The client chooses one model to use with each data set.
873.1.1.3.        The client enters the initial parameters of the models.
883.1.1.4         The client enters a string describing a condition between the two models.
893.1.1.5.        The client starts the fit.
903.1.1.6.        The client reads back the fit results from the fitting object.
91
92
933.1.2.  Alternative Flows
94
95Any of the following actions can take place:
96
973.1.2.1.        The client does not enter initial parameters for one or both models
98
99
1003.1.3. Error Conditions
1013.1.3.1.        The user does not choose a data set before starting the fit.
1023.1.3.2.        The user does not choose a model before starting the fit.
1033.1.3.3.        The user does not choose a model for one of the data sets.
104
105
1063.2.    Special requirements
1073.2.1.  Preconditions
108None
109
1103.2.2.  Post Conditions
111The client now has a fitting object that contains the results of his fit.
112He can modify that object and perform another fit.
113It will be possible for him to use the fit output as the initial parameters
114for any subsequent fit.
115
116Note: The test-case for this should use the testdata_generator module in the
117test directory and use two models:
118      1- A Line: Y = A*x + B for the file "testdata_line.txt"
119      2- A constant: Y = A for the file "testdata_cst.txt"
120The constraint should be that parameter "A" has the same value for both models.
121
122
123
124
Note: See TracBrowser for help on using the repository browser.