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

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 9855699 was 103a0b0, checked in by Mathieu Doucet <doucetm@…>, 17 years ago

Initial import for Park integration (docs only)

  • Property mode set to 100644
File size: 3.7 KB
RevLine 
[103a0b0]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.
25
26
271.2.    Special requirements
281.2.1.  Preconditions
29None
30
311.2.2.  Post Conditions
32The client now has a fitting object that contains the results of his fit.
33He can modify that object and perform another fit.
34It will be possible for him to use the fit output as the initial parameters
35for any subsequent fit.
36
37
382.      Use Case 2: 2 data sets and 1 model
39
40This use case describes an application (the client) performing a fit on multiple
41data sets with a single model.
42
432.1.    Flow of Events
442.1.1.  Basic Flow
452.1.1.1.        The client chooses two data sets to fit.
462.1.1.2.        The client chooses a model to use.
472.1.1.3.        The client enters the initial parameters of the model.
482.1.1.4.        The client starts the fit.
492.1.1.5.        The client reads back the fit results from the fitting object.
50
51
522.1.2.  Alternative Flows
53
54Any of the following actions can take place:
55
562.1.2.1.        The client does not enter initial parameters
57
58
592.1.3. Error Conditions
602.1.3.1.        The user does not choose a data set before starting the fit.
612.1.3.2.        The user does not choose a model before starting the fit.
62
63
642.2.    Special requirements
652.2.1.  Preconditions
66None
67
682.2.2.  Post Conditions
69The client now has a fitting object that contains the results of his fit.
70He can modify that object and perform another fit.
71It will be possible for him to use the fit output as the initial parameters
72for any subsequent fit.
73
74
753.      Use Case 3: 2 data sets, 2 models and one constraint
76
77This use case describes an application (the client) performing a fit on multiple
78data sets with a single model.
79
803.1.    Flow of Events
813.1.1.  Basic Flow
823.1.1.1.        The client chooses two data sets to fit.
833.1.1.2.        The client chooses one model to use with each data set.
843.1.1.3.        The client enters the initial parameters of the models.
853.1.1.4         The client enters a string describing a condition between the two models.
863.1.1.5.        The client starts the fit.
873.1.1.6.        The client reads back the fit results from the fitting object.
88
89
903.1.2.  Alternative Flows
91
92Any of the following actions can take place:
93
943.1.2.1.        The client does not enter initial parameters for one or both models
95
96
973.1.3. Error Conditions
983.1.3.1.        The user does not choose a data set before starting the fit.
993.1.3.2.        The user does not choose a model before starting the fit.
1003.1.3.3.        The user does not choose a model for one of the data sets.
101
102
1033.2.    Special requirements
1043.2.1.  Preconditions
105None
106
1073.2.2.  Post Conditions
108The client now has a fitting object that contains the results of his fit.
109He can modify that object and perform another fit.
110It will be possible for him to use the fit output as the initial parameters
111for any subsequent fit.
112
113Note: The test-case for this should use the testdata_generator module in the
114test directory and use two models:
115      1- A Line: Y = A*x + B for the file "testdata_line.txt"
116      2- A constant: Y = A for the file "testdata_cst.txt"
117The constraint should be that parameter "A" has the same value for both models.
118
119
120
121
Note: See TracBrowser for help on using the repository browser.