Ticket #9082: LET_Parameters.xml

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