Creating a Linear Correction File
A limits file should be named like this: GEM00216.LIN (for run 216 on GEM), and should be in the same directory as your data files. Here is a simple example of an .LIN file...
| 3 | |||
| 1 | 1 | -0.00025 | 0.007 |
| 2 | 0 | 1.000 | 0.000 |
| 3 | 1 | -0.00012 | 0.0045 |
(Note that the numbers given in this example are fictitious and should not be taken as recommendations.)
The first line gives the number of detector groups, ngroup. This should then be followed by a further ngroup lines, which should be arranged in order of increasing group number, with no omissions or duplications. Each line gives the group number, a flag, and the gradient & intercept to be used for correcting the data. The flag should be one or zero, indicating whether or not the correction is to be applied to the group concerned. The format of the file is free (the numbers must be separated, by spaces or a comma).
An example file g_f:template.lin is available and this file may be copied, renamed and modified.
Last updated on 23 Dec 2002 by Alex Hannon (a.c.hannon@rl.ac.uk)