PowderDiffractionISIS-v1_wkflw.dot 13.8 KB
Newer Older
1
2
3
4
digraph PowderDiffractionISIS {
  label="PowderDiffractionISIS"
  $global_style

5
6
7
8
9
10
11
12
  LoadSac_Start               [label="Load Sac Eff"]
  CorrectAbs_Start            [label="Van Absorption Correction"]
  C_Vana_Start                [label="Create Vana"]
  S_Vana_Start                [label="Strip Vanadium Peaks"]
  GetDataSum_Start            [label="Load Vana (Get Data Sum)"]
  Focus_one_Start             [label="Start Focusing"]
  Focus_All_Start             [label="Focus All (Run)"]

13
14


15
16
  subgraph processes {
    $process_style
17
18
19

    C_Vana_RunCorrectAbs      [label="Van Absorption Correction"]
    C_Vana_RunLoadSacEff1     [label="Load Sac Eff"]
20
    C_Vana_RunLoadSacEff2     [label="Load Sac Eff (NoSac=true)"]
21
22
    C_Vana_RunStripPeaks      [label="Strip Vanadium Peaks"]

23
    SacEff_RunGetDataSum      [label="Load Vana (Get Data Sum)"]
24

25
    Focus_one_RunGetDataSum   [label="Load Vana (Get Data Sum)"]
26
27
28
    Focus_one_RunCreateVana   [label="Create Vana"]
    Focus_one_RunCorrectAbs   [label="Van Absorption Correction"]

29
30
31
32
    Focus_All_LoadSac1        [label="Load Sac Eff"]
    Focus_All_LoadSac2        [label="Load Sac Eff"]
    Focus_All_C_Vana          [label="Create Vana"]
    Focus_All_Focus_one       [label="Start Focusing"]
33
34
35
36
37
  }

  subgraph algorithms {
    $algorithm_style

38
39
40
41
42
43
    LoadVan_LoadRaw                       [label="LoadRaw"]
    LoadVan_MaskBins                      [label="MaskBins"]
    LoadVan_Plus                          [label="Plus"]
    LoadVan_CreateSingleVal               [label="CreateSingleValuedWorkspace"]
    LoadVan_LDivide                       [label="Divide"]

44
45
46
    LoadSac_CreateSingle_1                [label="CreateSingleValuedWorkspace"]
    LoadSac_CreateSingle_2                [label="CreateSingleValuedWorkspace"]
    LoadSac_CreateSingle_3                [label="CreateSingleValuedWorkspace"]
47
    LoadSac_CreateSingle_4                [label="CreateSingleValuedWorkspace"]
48
49
50
51
    LoadSac_Divide_1                      [label="Divide"]
    LoadSac_Divide_2                      [label="Divide"]
    LoadSac_Integrate_1                   [label="Integrate"]
    LoadSac_Multiply_1                    [label="Multiply"]
52
53
54
55
56
57
    LoadSac_MaskDetectorIf                [label="MaskDetectorIf"]
    LoadSac_SolidAngle                    [label="SolidAngle"]
    LoadSac_Multiply                      [label="Multiply"]
    LoadSac_ConvertUnits                  [label="ConvertUnits"]
    LoadSac_Integration                   [label="Integration"]

58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85

    CorrAbs_ConvertUnits                  [label="ConvertUnits"]
    CorrAbs_CylinderAbsorption            [label="CylinderAbsorption"]
    CorrAbs_Divide                        [label="Divide"]
    CorrAbs_ConvertUnits2                 [label="ConvertUnits"]

    C_Vana_Minus                          [label="Minus"]
    C_Vana_AlignDetectors                 [label="AlignDetectors"]
    C_Vana_Divide                         [label="Divide"]
    C_Vana_DiffractionFocusing            [label="DiffractionFocusing"]
    C_Vana_ReplaceSpecialValues           [label="ReplaceSpecialValues"]
    C_Vana_SaveNexusProcessed             [label="SaveNexusProcessed"]
    C_Vana_SaveFocusedXYE                 [label="SaveFocusedXYE"]

    S_Vana_LoadNexusProcessed             [label="LoadNexusProcessed"]
    S_Vana_CropWorkspace                  [label="CropWorkspace"]
    S_Vana_SmoothData                     [label="SmoothData"]
    S_Vana_RemoveBins                     [label="RemoveBins"]
    S_Vana_StripPeaks                     [label="StripPeaks"]
    S_Vana_MaskBins                       [label="MaskBins"]
    S_Vana_SplineBackground1               [label="SplineBackground"]
    S_Vana_SplineBackground2               [label="SplineBackground"]
    S_Vana_SaveFocusedXYE1                [label="SaveFocusedXYE"]
    S_Vana_SaveFocusedXYE2                [label="SaveFocusedXYE"]
    S_Vana_SaveFocusedXYE3                [label="SaveFocusedXYE"]
    S_Vana_SaveFocusedXYE4                [label="SaveFocusedXYE"]
    S_Vana_SaveFocusedXYE5                [label="SaveFocusedXYE"]

86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
    Focus_one_Integration                 [label="Integration"]
    Focus_one_MaskDetectorIf              [label="MaskDetectorIf"]
    Focus_one_Minus                       [label="Minus"]
    Focus_one_AlignDetectors              [label="AlignDetectors"]
    Focus_one_Divide1                     [label="Divide"]
    Focus_one_Divide2                     [label="Divide"]
    Focus_one_Divide3                     [label="Divide"]
    Focus_one_CreSingleValWS              [label="CreateSingleValuedWorkspace"]
    Focus_one_Multiply                    [label="Multiply"]
    Focus_one_ConvertUnits1               [label="ConvertUnits"]
    Focus_one_ConvertUnits2               [label="ConvertUnits"]
    Focus_one_ConvertUnits3               [label="ConvertUnits"]
    Focus_one_DiffractionFocus            [label="DiffractionFocussing"]
    Focus_one_Rebin                       [label="Rebin"]
    Focus_one_CropWorkspace               [label="CropWorkspace"]
    Focus_one_RebinToWorkspace            [label="RebinToWorkspace"]
    Focus_one_RenameWorkspace             [label="RenameWorkspace"]
    Focus_one_ReplaceSpecValues1          [label="ReplaceSpecialValues"]
    Focus_one_ReplaceSpecValues2          [label="ReplaceSpecialValues"]
    Focus_one_GroupWorkspaces             [label="GroupWorkspaces"]
    Focus_one_SaveGSS                     [label="SaveGSS"]
    Focus_one_SaveNexusProcessed          [label="SaveNexusProcessed"]
    Focus_one_SaveFocusedXYE1             [label="SaveFocusedXYE"]
    Focus_one_SaveFocusedXYE2             [label="SaveFocusedXYE"]

111
112
113
114
115
116
117
118
119
120
  }

  subgraph decisions {
    $decision_style
    NoSac                             [label="if NoSac"]
    Eff                               [label="if Eff"]
    FirstNonZeroNotFound              [label="FirstNonZeroNotFound"]
    UampsotalLess                     [label="if UampsTotal < 1e-6"]
    IfHrpd                            [label="if HRPD"]

121
122
123
124
125
126
127
128
129
130
131
    C_Vana_UampsotalGreater           [label="if UampsTotal > 1e-6"]
    C_Vana_NoAbs                      [label="if NoAbs"]

    S_Vana_LoadUnstrip                [label="if Load Unstripped"]
    S_Vana_VanPeakRemove              [label="Van peak stripping"]

    Focus_one_VGrpFocus               [label="If VGrpFocus is sam"]
    Focus_one_SEmptyFile              [label="If SEmptyFile is not none"]
    Focus_one_CorrectSampleAbs        [label="If CorrectSampleAbs is yes"]
    Focus_one_Norm                    [label="If Normalization required"]

132
133
    Focus_All_Norm                    [label="If Normalization required"]
    Focus_Al_ExistingV                [label="ExistingV in .pref"]
134

135
136
  }

137
138
139
140
141
142
  subgraph load_van_get_data_sum {
  GetDataSum_Start              -> LoadVan_LoadRaw
  FileName                      -> LoadVan_LoadRaw
  LoadVan_LoadRaw               -> IfHrpd
  IfHrpd                        -> LoadVan_MaskBins                   [label="true"]
  LoadVan_MaskBins              -> FirstNonZeroNotFound
143
  IfHrpd                        -> FirstNonZeroNotFound               [label="else"]
144
145
146
147
  FirstNonZeroNotFound          -> LoadVan_CreateSingleVal            [label="true"]
  FirstNonZeroNotFound          -> LoadVan_Plus                       [label="else"]
  LoadVan_Plus                  -> LoadVan_CreateSingleVal
  LoadVan_CreateSingleVal       -> LoadVan_LDivide
148

149
150
151
152
  }

  subgraph load_sac_eff {
  LoadSac_Start                 -> NoSac
153
  NoSac                         -> LoadSac_CreateSingle_4             [label="true"]
154
155
156
157
  NoSac                         -> SacEff_RunGetDataSum               [label="else"]
  SacEff_RunGetDataSum           -> UampsotalLess
  UampsotalLess                 -> LoadSac_CreateSingle_1             [label="true"]
  UampsotalLess                 -> LoadSac_Integrate_1                [label="else"]
158
159
160
161
162
  LoadSac_Integrate_1           -> LoadSac_MaskDetectorIf
  LoadSac_MaskDetectorIf        -> LoadSac_SolidAngle
  LoadSac_SolidAngle            -> LoadSac_CreateSingle_2
  LoadSac_CreateSingle_2        -> LoadSac_Multiply
  LoadSac_Multiply              -> Eff
163
  Eff                           -> LoadSac_Divide_1                   [label="true"]
164
165
166
  LoadSac_Divide_1              -> LoadSac_ConvertUnits
  LoadSac_ConvertUnits          -> LoadSac_Integration
  LoadSac_Integration           -> LoadSac_Multiply_1
167
168
169
170
171
  LoadSac_Multiply_1            -> LoadSac_CreateSingle_3
  LoadSac_CreateSingle_3        -> LoadSac_Divide_2

  }

172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
  subgraph correct_abs {
  CorrectAbs_Start              -> CorrAbs_ConvertUnits
  CorrAbs_ConvertUnits          -> CorrAbs_CylinderAbsorption
  CorrAbs_CylinderAbsorption    -> CorrAbs_Divide
  CorrAbs_Divide                -> CorrAbs_ConvertUnits2

  }

  subgraph create_vana {
  C_Vana_Start                  -> C_Vana_RunLoadSacEff1
  VanadiumFile                  -> C_Vana_RunLoadSacEff1
  C_Vana_RunLoadSacEff1         -> C_Vana_RunLoadSacEff2
  VEmptyFile                    -> C_Vana_RunLoadSacEff2
  C_Vana_RunLoadSacEff2         -> C_Vana_UampsotalGreater
  C_Vana_UampsotalGreater       -> C_Vana_Minus                         [label="true"]
  C_Vana_UampsotalGreater       -> C_Vana_AlignDetectors                [label="else"]
  C_Vana_Minus                  -> C_Vana_AlignDetectors
  C_Vana_AlignDetectors         -> C_Vana_Divide
  C_Vana_Divide                 -> C_Vana_NoAbs
  C_Vana_NoAbs                  -> C_Vana_RunCorrectAbs                 [label="true"]
  C_Vana_NoAbs                  -> C_Vana_DiffractionFocusing           [label="else"]
  C_Vana_RunCorrectAbs          -> C_Vana_DiffractionFocusing
  C_Vana_DiffractionFocusing    -> C_Vana_ReplaceSpecialValues
  C_Vana_ReplaceSpecialValues   -> C_Vana_SaveNexusProcessed
  C_Vana_SaveNexusProcessed     -> C_Vana_SaveFocusedXYE
  C_Vana_SaveFocusedXYE         -> C_Vana_RunStripPeaks

  }

  subgraph strip_the_vana {
  S_Vana_Start                  -> S_Vana_LoadUnstrip
  S_Vana_LoadUnstrip            -> S_Vana_LoadNexusProcessed            [label="true"]
  S_Vana_LoadUnstrip            -> S_Vana_CropWorkspace                 [label="else"]
  S_Vana_CropWorkspace          -> S_Vana_VanPeakRemove
  S_Vana_LoadNexusProcessed     -> S_Vana_VanPeakRemove
  S_Vana_VanPeakRemove          -> S_Vana_SmoothData                    [label="interpol"]
  S_Vana_SmoothData             -> S_Vana_RemoveBins
  S_Vana_RemoveBins             -> S_Vana_SaveFocusedXYE1
  S_Vana_VanPeakRemove          -> S_Vana_StripPeaks                    [label="strip"]
  S_Vana_StripPeaks             -> S_Vana_SaveFocusedXYE2
  S_Vana_VanPeakRemove          -> S_Vana_MaskBins                      [label="spline"]
  S_Vana_MaskBins               -> S_Vana_SplineBackground1
  S_Vana_SplineBackground1      -> S_Vana_SaveFocusedXYE3
  S_Vana_VanPeakRemove          -> S_Vana_SplineBackground2             [label="spline only"]
  S_Vana_SplineBackground2      -> S_Vana_SaveFocusedXYE4
  S_Vana_SaveFocusedXYE1        -> S_Vana_SaveFocusedXYE5
  S_Vana_SaveFocusedXYE2        -> S_Vana_SaveFocusedXYE5
  S_Vana_SaveFocusedXYE3        -> S_Vana_SaveFocusedXYE5
  S_Vana_SaveFocusedXYE4        -> S_Vana_SaveFocusedXYE5

  }

224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
  subgraph focus_one {
  Focus_one_Start               -> Focus_one_RunGetDataSum
  Focus_one_RunGetDataSum       -> Focus_one_Integration
  Focus_one_Integration         -> Focus_one_MaskDetectorIf
  Focus_one_MaskDetectorIf      -> Focus_one_VGrpFocus
  Focus_one_VGrpFocus           -> Focus_one_RunCreateVana              [label="true"]
  Focus_one_RunCreateVana       -> Focus_one_SEmptyFile
  Focus_one_VGrpFocus           -> Focus_one_SEmptyFile                 [label="else"]
  Focus_one_SEmptyFile          -> Focus_one_Minus                      [label="true"]
  Focus_one_SEmptyFile          -> Focus_one_AlignDetectors             [label="else"]
  Focus_one_Minus               -> Focus_one_AlignDetectors
  Focus_one_AlignDetectors      -> Focus_one_Divide1
  Focus_one_Divide1             -> Focus_one_CreSingleValWS
  Focus_one_CreSingleValWS      -> Focus_one_Multiply
  Focus_one_Multiply            -> Focus_one_CorrectSampleAbs
  Focus_one_CorrectSampleAbs    -> Focus_one_RunCorrectAbs              [label="true"]
  Focus_one_RunCorrectAbs       -> Focus_one_ConvertUnits1
  Focus_one_ConvertUnits1       -> Focus_one_Divide2
  Focus_one_Divide2             -> Focus_one_ConvertUnits2
  Focus_one_ConvertUnits2       -> Focus_one_DiffractionFocus
  Focus_one_CorrectSampleAbs    -> Focus_one_DiffractionFocus           [label="else"]
  Focus_one_DiffractionFocus    -> Focus_one_CropWorkspace
  Focus_one_CropWorkspace       -> Focus_one_Norm
  Focus_one_Norm                -> Focus_one_RebinToWorkspace            [label="true"]
  Focus_one_RebinToWorkspace    -> Focus_one_Divide3
  Focus_one_Norm                -> Focus_one_RenameWorkspace             [label="else"]
  Focus_one_Divide3             -> Focus_one_Rebin
  Focus_one_RenameWorkspace     -> Focus_one_Rebin
  Focus_one_Rebin               -> Focus_one_ConvertUnits3
  Focus_one_ConvertUnits3       -> Focus_one_ReplaceSpecValues1
  Focus_one_ReplaceSpecValues1  -> Focus_one_ReplaceSpecValues2
  Focus_one_ReplaceSpecValues2  -> Focus_one_GroupWorkspaces
  Focus_one_GroupWorkspaces     -> Focus_one_SaveGSS
  Focus_one_SaveGSS             -> Focus_one_SaveNexusProcessed
  Focus_one_SaveNexusProcessed  -> Focus_one_SaveFocusedXYE1
  Focus_one_SaveFocusedXYE1     -> Focus_one_SaveFocusedXYE2
260

261
  }
262

263
  subgraph focus_all {
264
265
266
267
268
269
270
271
272
273
  Focus_All_Start              -> Focus_All_Norm
  Focus_All_Norm               -> Focus_All_LoadSac1                   [label="true"]
  Focus_All_Norm               -> Focus_All_LoadSac2                   [label="else"]
  Focus_All_LoadSac1           -> Focus_Al_ExistingV
  Focus_Al_ExistingV           -> LoadNexusProcessed                   [label="load"]
  Focus_Al_ExistingV           -> Focus_All_C_Vana                     [label="no"]
  Focus_All_LoadSac2           -> Focus_All_Focus_one
  LoadNexusProcessed           -> Focus_All_Focus_one
  Focus_All_C_Vana             -> Focus_All_Focus_one

274
275
  }

276
}