1 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
2 | <parameter-file instrument = "LET" valid-from = "2013-06-12T00:00:00"> |
---|
3 | |
---|
4 | <component-link name = "LET"> |
---|
5 | |
---|
6 | <!-- files properties : --> |
---|
7 | |
---|
8 | <!-- The file which defines proper (calibrated) detector positions |
---|
9 | if None - it is undefined --> |
---|
10 | <parameter name="det_cal_file" type="string"> |
---|
11 | <value val="det_LET_cycle12-3.dat"/> |
---|
12 | </parameter> |
---|
13 | <!-- The file which defines detectors to spectra mapping; File extension has to be specified here but filepath not |
---|
14 | if None - one2one map is used --> |
---|
15 | <parameter name="map_file" type="string"> |
---|
16 | <value val="LET_one2one_123.map"/> |
---|
17 | </parameter> |
---|
18 | |
---|
19 | <!-- Extension of the data files obtained from DAE --> |
---|
20 | <parameter name="data_file_ext" type="string"> |
---|
21 | <value val=".raw"/> |
---|
22 | </parameter> |
---|
23 | <!-- The name of the hard mask file to use together with diag masking --> |
---|
24 | <parameter name="hard_mask_file" type="string"> |
---|
25 | <value val="hard.msk"/> |
---|
26 | </parameter> |
---|
27 | <!-- The map file used when calculating absolute units conversion integrals |
---|
28 | This map usually groups together large areas of detectors to obtain proper vanadium statistics --> |
---|
29 | <parameter name="monovan_mapfile" type="string"> |
---|
30 | <value val="LET_rings_123.map"/> |
---|
31 | </parameter> |
---|
32 | |
---|
33 | |
---|
34 | <!-- RunNumber to use for diag instead of the input run number if none - use input run --> |
---|
35 | <parameter name="mask_run" type="string"> |
---|
36 | <value val="None"/> |
---|
37 | </parameter> |
---|
38 | |
---|
39 | <!-- Energy conversion mode direct/indirect/elastic (the one the reducer understands) --> |
---|
40 | <parameter name="deltaE-mode" type="string"> |
---|
41 | <value val="direct"/> |
---|
42 | </parameter> |
---|
43 | |
---|
44 | <!-- Monitor used to estimate total current on the sample. --> |
---|
45 | <parameter name="norm-mon1-spec"> |
---|
46 | <value val="40961"/> |
---|
47 | </parameter> |
---|
48 | <!-- Time interval used for integration to estimate current on the sample |
---|
49 | This interval is usually taken around the monitor peak--> |
---|
50 | <parameter name="norm-mon1-min"> |
---|
51 | <value val="10000"/> |
---|
52 | </parameter> |
---|
53 | <parameter name="norm-mon1-max"> |
---|
54 | <value val="12000"/> |
---|
55 | </parameter> |
---|
56 | <parameter name="norm_mon_integration_range" type="string"> |
---|
57 | <value val="norm-mon1-min:norm-mon1-max"/> |
---|
58 | </parameter> |
---|
59 | |
---|
60 | |
---|
61 | <!-- First spectra number (monitor number) to use when measuring incident energy |
---|
62 | Should be spectra with well defined energy peak --> |
---|
63 | <parameter name="ei-mon1-spec" type="int"> |
---|
64 | <value val="40966"/> |
---|
65 | </parameter> |
---|
66 | <!-- Second spectra number (monitor number) to use when measuring incident energy |
---|
67 | Should be spectra with well defined energy peak --> |
---|
68 | <parameter name="ei-mon2-spec" type="int"> |
---|
69 | <value val="5506"/> |
---|
70 | </parameter> |
---|
71 | |
---|
72 | <!--if you use some detectors as monitors and work in event mode, one needs to specify the comma separated list of these detectors here |
---|
73 | to copy detectors spectra to monitors spectra collected in histogram mode. If no such monitors are used "None" |
---|
74 | (with brackets) has to be specified as the value |
---|
75 | --> |
---|
76 | <parameter name="spectra_to_monitors_list" type="string"> |
---|
77 | <value val="5506"/> |
---|
78 | </parameter> |
---|
79 | |
---|
80 | <parameter name="ei_mon_spectra" type="string"> |
---|
81 | <value val="ei-mon1-spec:ei-mon2-spec"/> |
---|
82 | </parameter> |
---|
83 | |
---|
84 | |
---|
85 | |
---|
86 | <parameter name="scale-factor"> |
---|
87 | <value val="1.7016e8"/> |
---|
88 | </parameter> |
---|
89 | |
---|
90 | <parameter name="wb-scale-factor"> |
---|
91 | <value val="1000"/> |
---|
92 | </parameter> |
---|
93 | |
---|
94 | <!-- Remove the count rate seen in the regions of the histograms defined as the background regions --> |
---|
95 | <parameter name="check_background" type="bool"> |
---|
96 | <value val="False"/> |
---|
97 | </parameter> |
---|
98 | |
---|
99 | <!-- detector_van_range- integratin in E(mev) for detector(white beam) vanadium data [20,100] --> |
---|
100 | <parameter name="wb-integr-min"> |
---|
101 | <value val="0.5"/> |
---|
102 | </parameter> |
---|
103 | <parameter name="wb-integr-max"> |
---|
104 | <value val="200"/> |
---|
105 | </parameter> |
---|
106 | <parameter name="wb_integr_range" type="string"> |
---|
107 | <value val="wb-integr-min:wb-integr-max"/> |
---|
108 | </parameter> |
---|
109 | |
---|
110 | |
---|
111 | |
---|
112 | <!-- integration range for background tests (in TOF) - composite property |
---|
113 | Used in test to reject high backgound (FlatBackground) and in High Background tests integration in Diagnostics |
---|
114 | if diag_background_test_range is not set --> |
---|
115 | <parameter name="bkgd-range-min"> |
---|
116 | <value val="90000"/> |
---|
117 | </parameter> |
---|
118 | <parameter name="bkgd-range-max"> |
---|
119 | <value val="95000"/> |
---|
120 | </parameter> |
---|
121 | <parameter name="background_range" type="string"> |
---|
122 | <value val="bkgd-range-min:bkgd-range-max"/> |
---|
123 | </parameter> |
---|
124 | |
---|
125 | <!-- ******************************** DIAGNOSTICS DEFAILTS **************************************** --> |
---|
126 | |
---|
127 | <!-- Perform diag by bank. These are the spectrum numbers --> |
---|
128 | <parameter name="diag_spectra" type="string"> |
---|
129 | <value val="None"/> |
---|
130 | </parameter> |
---|
131 | |
---|
132 | <!-- Absolute lo threshold for vanadium diag (tiny) --> |
---|
133 | <parameter name="diag_tiny"> |
---|
134 | <value val="1e-10"/> |
---|
135 | </parameter> |
---|
136 | |
---|
137 | <!-- Absolute hi threshold for vanadium diag (large) --> |
---|
138 | <parameter name="diag_huge"> |
---|
139 | <value val="1e10"/> |
---|
140 | </parameter> |
---|
141 | |
---|
142 | <!-- Setting diag to reject zero backgrounds; If true then zeroes in (vanadium) data are masked as fail --> |
---|
143 | <parameter name="diag_samp_zero" type="bool"> |
---|
144 | <value val="False"/> |
---|
145 | </parameter> |
---|
146 | |
---|
147 | <!-- Fraction of median to consider counting low for the white beam diag (diag_van_median_rate_limit_hi sv_lo)--> |
---|
148 | <parameter name="diag_samp_lo"> |
---|
149 | <value val="0.0"/> |
---|
150 | </parameter> |
---|
151 | <!-- Fraction of median to consider counting high for the white beam diag (sv_hi)--> |
---|
152 | <parameter name="diag_samp_hi"> |
---|
153 | <value val="1.5"/> |
---|
154 | </parameter> |
---|
155 | |
---|
156 | <!-- Error criterion as a multiple of error bar for background (sv_sig) |
---|
157 | i.e. to fail the test, the magnitude of the |
---|
158 | difference with respect to the median value must also exceed this number of error bars (default=3.3) |
---|
159 | --> |
---|
160 | <parameter name="diag_samp_sig"> |
---|
161 | <value val="3.3"/> |
---|
162 | </parameter> |
---|
163 | |
---|
164 | <!-- Lower bound defining outliers as fraction of median value (v_out_lo)--> |
---|
165 | <parameter name="diag_van_out_lo"> |
---|
166 | <value val="0.01"/> |
---|
167 | </parameter> |
---|
168 | |
---|
169 | <!-- Upper bound defining outliers as fraction of median value (v_out_hi) --> |
---|
170 | <parameter name="diag_van_out_hi"> |
---|
171 | <value val="100."/> |
---|
172 | </parameter> |
---|
173 | |
---|
174 | <!-- Fraction of median to consider counting low for the white beam diag (vv_lo) vanlo=0.1 --> |
---|
175 | <parameter name="diag_van_lo"> |
---|
176 | <value val="0.1"/> |
---|
177 | </parameter> |
---|
178 | |
---|
179 | <!-- Fraction of median to consider counting high for the white beam diag (vv_hi) vanhi=1.5 --> |
---|
180 | <parameter name="diag_van_hi"> |
---|
181 | <value val="2.0"/> |
---|
182 | </parameter> |
---|
183 | |
---|
184 | <!-- Error criterion as a multiple of error bar van_sig " |
---|
185 | i.e. to fail the test, the magnitude of the difference with respect to the median value must also exceed this number of error bars (default=0.0) |
---|
186 | --> |
---|
187 | <parameter name="diag_van_sig"> |
---|
188 | <value val="0.0"/> |
---|
189 | </parameter> |
---|
190 | |
---|
191 | <!-- Variation for ratio test with second white beam --> |
---|
192 | <parameter name="diag_variation"> |
---|
193 | <value val="1.1"/> |
---|
194 | </parameter> |
---|
195 | <!-- The range used in diagnostics and rejecting high background. |
---|
196 | If none, the diag background range uses background ranges from background_range. Has to be directly set otherwise --> |
---|
197 | <parameter name="diag_background_test_range" type="string" > |
---|
198 | <value val="None"/> |
---|
199 | </parameter> |
---|
200 | |
---|
201 | |
---|
202 | <!-- --> |
---|
203 | <!-- Bleeding corrections --> |
---|
204 | |
---|
205 | <!-- the number of pixels ignored within the bleed test diagnostic --> |
---|
206 | <parameter name="diag_bleed_pixels"> |
---|
207 | <value val="80"/> |
---|
208 | </parameter> |
---|
209 | <!-- the maximum framerate allowed in a tube --> |
---|
210 | <parameter name="diag_bleed_maxrate"> |
---|
211 | <value val="0.01"/> |
---|
212 | </parameter> |
---|
213 | <!-- True if the bleed tests should be run use_bleeding--> |
---|
214 | <parameter name="diag_bleed_test" type="bool"> |
---|
215 | <value val="True"/> |
---|
216 | </parameter> |
---|
217 | |
---|
218 | <!-- **************************************** DIAGNOSTICS DEFAILTS END **************************************** --> |
---|
219 | |
---|
220 | |
---|
221 | <!-- **************************************** ABSOLUTE UNITS CORRECTION DEFAULTS ******************************** --> |
---|
222 | <!-- Absolute units conversion average --> |
---|
223 | <parameter name="monovan_lo_bound"> |
---|
224 | <value val="0.01"/> |
---|
225 | </parameter> |
---|
226 | |
---|
227 | <parameter name="monovan_hi_bound"> |
---|
228 | <value val="100"/> |
---|
229 | </parameter> |
---|
230 | |
---|
231 | <!-- This property is the part of the composite definition for abs_units_van_range: |
---|
232 | It specifies the relative to incident energy lower integration limit for monochromatic vanadium in the mono-vanadium integration --> |
---|
233 | <parameter name="monovan_lo_frac"> |
---|
234 | <value val="-0.8"/> |
---|
235 | </parameter> |
---|
236 | |
---|
237 | <!-- This property is the part of the composite definition for abs_units_van_range: |
---|
238 | It specifies the the lower limit of energy range in the monochromatic-vanadium integration |
---|
239 | Used only if abs_units_van_range is set to val="monovan_lo_value,monovan_hi_value"--> |
---|
240 | <parameter name="monovan_lo_value"> |
---|
241 | <value val="-40."/> |
---|
242 | </parameter> |
---|
243 | |
---|
244 | <!-- This property is the part of the composite definition for abs_units_van_range |
---|
245 | It specifies the relative to incident energy higher integration limit for monochromatic vanadium in the mono-vanadium integration --> |
---|
246 | <parameter name="monovan_hi_frac"> |
---|
247 | <value val="0.8"/> |
---|
248 | </parameter> |
---|
249 | <!-- This property is the part of the composite definition for abs_units_van_range |
---|
250 | It specifies the the higher limit of energy range in the monochromatic-vanadium integration |
---|
251 | Used only if abs_units_van_range is set to val="monovan_lo_value,monovan_hi_value"--> |
---|
252 | <parameter name="monovan_hi_value"> |
---|
253 | <value val="40."/> |
---|
254 | </parameter> |
---|
255 | |
---|
256 | <!-- energy range for integration calculating absolute units correction vanadium data. |
---|
257 | if None, range is calculated from monovan_hi_frac/monovan_lo_frac |
---|
258 | - providing the fractions of the incident energy |
---|
259 | if one wants to specify the energy values here it has to be defined in the form: |
---|
260 | <value val="monovan_lo_value,monovan_hi_value"/> --> |
---|
261 | <parameter name="abs_units_van_range" type="string"> |
---|
262 | <value val="None"/> |
---|
263 | </parameter> |
---|
264 | <!-- Sample mass used in absolute units normalization and should usually be changed by user--> |
---|
265 | <parameter name="sample_mass"> |
---|
266 | <value val="1"/> |
---|
267 | </parameter> |
---|
268 | <!-- Sample rmm used in absolute units normalization should usually be changed by user --> |
---|
269 | <parameter name="sample_rmm"> |
---|
270 | <value val="1"/> |
---|
271 | </parameter> |
---|
272 | <!-- Vanaduim mass used in absolute units normalization and is usually instrument specific (changes rarely) --> |
---|
273 | <parameter name="vanadium-mass"> |
---|
274 | <value val="20.79"/> |
---|
275 | </parameter> |
---|
276 | <!-- if this value set to true, modo-vanadium run is not analyzed and masks obtained for arbitrary units are used for mono-vanadium --> |
---|
277 | <parameter name="use_sam_msk_on_monovan" type = "bool"> |
---|
278 | <value val="False"/> |
---|
279 | </parameter> |
---|
280 | |
---|
281 | <!-- if this value is provided (not None) it is string reperesentation of the number used instead of calculating mono-vanadium based normalization factor |
---|
282 | one does not need to provide mono-vanadium run if this value is provided as it will be used instead |
---|
283 | --> |
---|
284 | <parameter name="mono_correction_factor" type="string"> |
---|
285 | <value val="None"/> |
---|
286 | </parameter> |
---|
287 | |
---|
288 | <!-- **************************************** ABSOLUTE UNITS CORRECTION DEFAULTS END **************************** --> |
---|
289 | |
---|
290 | <!-- normalise_method normalistion. Availible values are: none (-largely meaningles), monitor-1, current |
---|
291 | the acceptable values are defined in DirectEnergyConversion init routine as recognized by direct energy conversion normalize method |
---|
292 | these three are currently disabled/unknown: monitor-2, uamph peak--> |
---|
293 | <parameter name="normalise_method" type="string"> |
---|
294 | <value val="monitor-1"/> |
---|
295 | </parameter> |
---|
296 | |
---|
297 | <!-- if defined to true, fix incident energy to this value and do not calculate the energy from the run --> |
---|
298 | <parameter name="fixei" type="bool"> |
---|
299 | <value val="False"/> |
---|
300 | </parameter> |
---|
301 | |
---|
302 | <!-- **************************************** Workflow control **************************** --> |
---|
303 | |
---|
304 | <!-- This parameter controls the format of output data written by reducer. |
---|
305 | Three values are currently supported, namely .spe, .nxspe, and nexus (mantid workspace) (.nxs) |
---|
306 | Three possible values for this are defined inin DirectEnergyConversion init routine as recognized by save method |
---|
307 | If None is there, no internal script saving occurs and one needs to use external save operations --> |
---|
308 | <parameter name="save_format" type="string"> |
---|
309 | <value val="None"/> |
---|
310 | </parameter> |
---|
311 | |
---|
312 | <!-- If one wants to sum runs. By default no, as in addition to the key word one has to provide list of input run-numbers |
---|
313 | but presence of this key here allows to propagate this key-word to the reducer --> |
---|
314 | <parameter name="sum_runs" type="bool"> |
---|
315 | <value val="False"/> |
---|
316 | </parameter> |
---|
317 | |
---|
318 | <!-- # Run Detector Efficiency Correction --> |
---|
319 | <parameter name="apply_detector_eff" type="bool"> |
---|
320 | <value val="True"/> |
---|
321 | </parameter> |
---|
322 | <!-- # Multiply result by ki/kf value --> |
---|
323 | <parameter name="apply_kikf_correction" type="bool"> |
---|
324 | <value val="True"/> |
---|
325 | </parameter> |
---|
326 | |
---|
327 | <!-- The if true, use only hard mask file specified above and do not run diagnostics procedures --> |
---|
328 | <parameter name="use_hard_mask_only" type="bool"> |
---|
329 | <value val="False"/> |
---|
330 | </parameter> |
---|
331 | |
---|
332 | <!-- Parameter specifies if one wants to run diagnostics (which include applying hard mask file) or not--> |
---|
333 | <parameter name="run_diagnostics" type="bool"> |
---|
334 | <value val="True"/> |
---|
335 | </parameter> |
---|
336 | |
---|
337 | |
---|
338 | |
---|
339 | <!-- If this parameter is set to true, dgreduce will try to load mask from the mask file |
---|
340 | correspondent to the run if finds it and uses this mask as hard mask only (does not run diagnostics). |
---|
341 | If such file has not been found, it will run diagnostics and save the masks into mask file for reuse |
---|
342 | Hard Mask file, provided separately or as additional hard mask file is ignored in this case --> |
---|
343 | <parameter name="save_and_reuse_masks" type="bool"> |
---|
344 | <value val="False"/> |
---|
345 | </parameter> |
---|
346 | |
---|
347 | |
---|
348 | <!-- List of the words which can be used as a command line arguments to define reducer keywords |
---|
349 | the form is reducer_keword1=synonim1=synonim2=synonim3;reducer_keword1=synonim1a, so, |
---|
350 | the reducer keywords are the leftmost values of the keyword assignements below |
---|
351 | Each keyword met in command line or file above are converted into reducer keyword as below |
---|
352 | --> |
---|
353 | <parameter name="synonims" type="string"> |
---|
354 | <value val="normalise_method=norm_method; |
---|
355 | fix_ei=fixei; |
---|
356 | sum_runs=sum; |
---|
357 | wb_integr_range=detector_van_range; |
---|
358 | van_mass=vanadium-mass; |
---|
359 | check_background = background; |
---|
360 | mon1_norm_spec=norm-mon1-spec; |
---|
361 | scale_factor=scale-factor; |
---|
362 | wb_scale_factor=wb-scale-factor; |
---|
363 | monovan_integr_range=abs_units_van_range; |
---|
364 | monovan_lo_value = monovan-integr-min; |
---|
365 | monovan_hi_value = monovan-integr-max; |
---|
366 | use_hard_mask_only=hardmaskOnly; |
---|
367 | bkgd_range = background_range; |
---|
368 | background_test_range = diag_background_test_range; |
---|
369 | hard_mask_file=hard_mask =hardmaskPlus; |
---|
370 | van_out_lo = diag_van_median_rate_limit_lo=diag_van_out_lo; |
---|
371 | van_out_hi = diag_van_median_rate_limit_hi=diag_van_out_hi; |
---|
372 | van_lo = diag_van_median_sigma_lo=diag_van_lo; |
---|
373 | van_hi = diag_van_median_sigma_hi=diag_van_hi; |
---|
374 | van_sig = diag_van_median_sigma=diag_van_sig; |
---|
375 | tiny = diag_tiny; |
---|
376 | huge = diag_huge=large; |
---|
377 | samp_zero = diag_remove_zero=diag_samp_zero; |
---|
378 | samp_lo = diag_samp_median_sigma_lo=diag_samp_lo; |
---|
379 | samp_hi = diag_samp_median_sigma_hi=diag_samp_hi; |
---|
380 | samp_sig = diag_samp_median_sigma=diag_samp_sig; |
---|
381 | variation = diag_variation; |
---|
382 | bleed_test = bleed = diag_bleed_test; |
---|
383 | bleed_maxrate = diag_bleed_maxrate; |
---|
384 | bleed_pixels = diag_bleed_pixels" |
---|
385 | /> |
---|
386 | </parameter> |
---|
387 | |
---|
388 | <!-- --> |
---|
389 | </component-link> |
---|
390 | |
---|
391 | </parameter-file> |
---|