Project

General

Profile

Analysis (Test Page) » History » Version 4

Thomas Bretz, 2018-09-14 15:51

1 4 Thomas Bretz
{{>toc}}
2 2 Thomas Bretz
# Scheduling
3 1 Thomas Bretz
4 1 Thomas Bretz
(FACT++: makeschedule)
5 1 Thomas Bretz
6 1 Thomas Bretz
The source scheduling is done mostly automatically, based on some simple rules which try to optimize the total sensitivity of the telescope. The idea behind is to optimize the schedule according to the visibility of sources and create an unbiased scheduled which does not depend on a manual scheduler.
7 1 Thomas Bretz
8 1 Thomas Bretz
The schedule is always calculated three days in advance depending on whether a shift is scheduled (a shifter is assigned in the shift calendar)
9 1 Thomas Bretz
10 1 Thomas Bretz
The shift calendar is found here:
11 1 Thomas Bretz
https://www.fact-project.org/shift/
12 1 Thomas Bretz
13 1 Thomas Bretz
An editor to updaye the schedule manually, e.g. in case of ToO observations, is available here:
14 1 Thomas Bretz
https://www.fact-project.org/schedule/
15 1 Thomas Bretz
16 2 Thomas Bretz
## Basic schedule
17 1 Thomas Bretz
18 1 Thomas Bretz
The schedule is based on a user defined list of sources. A global limit and a source specific limit can be defined on the maximum allowed zenith angle and the maximum predicted current. For each point during the night which fulfil these requirements, a relative threshold is predicted. The relative threshold $T$ is calculated as
19 1 Thomas Bretz
20 1 Thomas Bretz
{{{#!Latex
21 1 Thomas Bretz
T=f\cdot\cos(\theta)^{-2.664}\cdot\left(\frac{I}{6.2\mu\text{A}}\right)^{0.394}
22 1 Thomas Bretz
}}}
23 1 Thomas Bretz
24 1 Thomas Bretz
(THIS NEEDS REVIEW... WE KNOW BETTER ALREADY)
25 1 Thomas Bretz
26 1 Thomas Bretz
Here, $f$ is an arbitrary scale factor which is meant to increase or decrease the priority of a source in the schedule and to account for their different average flux, $I$ is the predicted current and $\theta$ the zenith angle.
27 1 Thomas Bretz
28 1 Thomas Bretz
The predicted current $I$ is calculated as
29 1 Thomas Bretz
30 1 Thomas Bretz
(FACT::Prediction)
31 1 Thomas Bretz
32 1 Thomas Bretz
{{{#!Latex
33 1 Thomas Bretz
\frac{I}{\mu\text{A}} = 6.2\cdot 95.7\M^{2.63}\cdot \sin\theta_\text{moon}^{0.6}\cdot \left(\frac{d_\text{ME}}{384400\text{km}}\right)^{-2}\cdot \text{e}^{0.67\cdot \cos\alpha^4} + \text{e}^{-97.8+105.8\cdot\sin\beta^2} 
34 1 Thomas Bretz
}}}
35 1 Thomas Bretz
36 1 Thomas Bretz
Here, $M$ is the illuminated fraction of the moon disc, $\theta_\text{moon}$ is the altitude of the moon, while altitudes below horizon are considered 0°. $d_\text{ME}$ is the distance between moon and Earth. The angle $\alpha$ defined the angular separation of the observed source from the moon and the angle $\beta$ is altitude of the Sun (which is negative as the Sun is supposed to be below horizon during observations).
37 1 Thomas Bretz
38 1 Thomas Bretz
The predictions are also plotted here: https://fact-project.org/dch/scheduling.php (add REFs)
39 1 Thomas Bretz
40 1 Thomas Bretz
From all sources, over the whole night, always the one with the lowest relative threshold $T$ is selected to be observed. As this can result in some unwanted artifacts like sources observed for only a few second, this schedule is revided in further steps.
41 1 Thomas Bretz
42 2 Thomas Bretz
## Beginning and end of the night
43 1 Thomas Bretz
44 1 Thomas Bretz
If the first source of the night is found to have an observation time less than 40min and it can be extended to 40min without violating any of the observation limits, it is extended to 40min. If this is not possible, it is checked if the second scheduled source can be extended to the beginning of the night without violating any observation limit. If this is not possible, then the scheduler tries to remove the second source from the schedule and extend the first source accordingly. If all that fails, the scheduled is kept as is.
45 1 Thomas Bretz
46 1 Thomas Bretz
An identical procedure is applied at the end of the night, where ''first'' mist be replaced by ''last'' and ''second'' by ''second last''.
47 1 Thomas Bretz
48 2 Thomas Bretz
## Intermediate Source
49 1 Thomas Bretz
50 1 Thomas Bretz
The so obtained schedule might still show unwanted artifacts.
51 1 Thomas Bretz
52 1 Thomas Bretz
Therefore, for the first source scheduled during the night, which is scheduled with less than 40min, is processed. If the source is scheduled in between two no-observations (SLEEP), no action is taken. If the scheduled source neither comes after a no-observation (Example: NOOBS...SOURCE...OTHER), nor before a no-observation (OTHER...SOURCE...NOOBS), nor it is included between observations of an identical source (SAME...SOURCE...SAME), then the algorithm determines in steps of one minute, the point in time after the start of its observation at which the relative threshold of the following source falls below the relative threshold of the previous source. If extending the surrounding sources to that point and removing the intermediate source from the schedule does violate any observation limit, the schedule is kept. Otherwise, the intermediate source is removed and the surrounded sources extended accordingly. This process is iteratively repeated until no further rescheduling is possible anymore.
53 1 Thomas Bretz
54 2 Thomas Bretz
## Mini Sources
55 1 Thomas Bretz
56 1 Thomas Bretz
As this procedue can still lead to very short observations which are not reasonable and not wanted, all scheduled sourced which are scheduled now with an observation time of less than 5min are removed from the schedule and replaced by a SLEEP during which the telescope does not record any data.
57 1 Thomas Bretz
58 2 Thomas Bretz
## Result
59 1 Thomas Bretz
60 1 Thomas Bretz
The current setup is:
61 3 Thomas Bretz
~~~
62 1 Thomas Bretz
Global maximum current: 90 uA/pix
63 1 Thomas Bretz
Global zenith distance: 75 deg 
64 1 Thomas Bretz
65 1 Thomas Bretz
Nsources = 12 
66 1 Thomas Bretz
[Mrk 421] 
67 1 Thomas Bretz
[Mrk 501] 
68 1 Thomas Bretz
[1ES 2344+51.4] 
69 1 Thomas Bretz
[PKS 2155-304] Penalty=2.5 
70 1 Thomas Bretz
[Crab] Zd<30 
71 1 Thomas Bretz
[H 1426+428] Penalty=2.5 
72 1 Thomas Bretz
[1ES 1959+650] Penalty=0.6 
73 1 Thomas Bretz
[1ES 1218+304] Penalty=2.5 
74 1 Thomas Bretz
[IC 310] Penalty=2.5 
75 1 Thomas Bretz
[1H0323+342] 
76 1 Thomas Bretz
[PKS 0736+01] Penalty=2.5 
77 1 Thomas Bretz
[V404 Cyg] Penalty=2.5 
78 3 Thomas Bretz
~~~
79 1 Thomas Bretz
80 1 Thomas Bretz
The schedule produced by the auto-scheduler is available at https://www.fact-project.org/dch/obs_summary.php. In addition the web-page also shows the observation eventually carried out in comparison.
81 1 Thomas Bretz
82 1 Thomas Bretz
83 2 Thomas Bretz
# DRS Calibration
84 1 Thomas Bretz
85 1 Thomas Bretz
(MDrsCalibApply: MRawEvtData -> MPedestalSubtractedEvt)
86 1 Thomas Bretz
87 2 Thomas Bretz
## Amplitude Calibration
88 1 Thomas Bretz
89 1 Thomas Bretz
1. An offset calculated for each physical cell is subtracted. The offset is obtained as the average calculated from 1000 pedestal events.
90 1 Thomas Bretz
91 1 Thomas Bretz
2. The contents of each baseline-subtracted physical cell is multiplied by its individual gain. The gain is calculated as the average response of each physical cell to an applied constant voltage of 896.47mV. For this 1000 events are recorded.
92 1 Thomas Bretz
93 1 Thomas Bretz
3. An offset calculated for each logical cell is subtracted. The offset is obtained as the average calculated from 1000 pedestal events.
94 1 Thomas Bretz
95 2 Thomas Bretz
## Jumps correction
96 1 Thomas Bretz
97 1 Thomas Bretz
(MDrsCalibrate::!CorrectStep)
98 1 Thomas Bretz
99 1 Thomas Bretz
The baseline changes at the edged of each readout-window. That means that if consecutive readouts happen with overlapping readout windows, a sudden jump of the baseline in the readout window is visible. If the readout window is from cell i to i+r where r is the region of interest, the jumps of the baseline (only visible during the following readout) happen between the samples i+2 and i+r+9 and their following sample.
100 1 Thomas Bretz
The amplitude of this effect decreases exponentially with time. Therefore, the jump correction is only applied for the past five events. For an average rate below the readout limit of the DAQ system (~200Hz) this should leave only jumps with an amplitude below 1 ADC count. Note that for some cases, the jumps might lay totally outside of the current readout window and thus their height can not be determined easily. In this case they are ignored. 
101 1 Thomas Bretz
102 1 Thomas Bretz
The jumps induced from all past five events are corrected individually, with the smallest (oldest) first. Upward and downward jumps (beginnin and end of readout window) are treated seperately. As the amplitude of the jump is the same in all 9 channels of each DRS chip, an average jump height <h_ch> is calculated for all steps within the range of the current readout window from the first eight channels ch=(0..7) of each chip. As the last channel is known to be slightly different in its behavior, it is excluded. To avoid a bias in the calculation from spikes or fast rising signals, the average jump height obtained from all 160 DRS4 chips is averaged H=<<h_ch>_drs>. From carefully studies, it was obtained that if their standard deviation of H exceeds 5 there is a bias in the data. The studies also showed that of 10% of the chips are excluded, a reasonable jump height can be determined. 
103 1 Thomas Bretz
104 1 Thomas Bretz
In a last step, the obtained average jump height is applied to all channels. While for positive (upward) jumps, all following samples are corrected, for negative (downward) jumps all previous samples are corrected.
105 1 Thomas Bretz
106 1 Thomas Bretz
107 2 Thomas Bretz
## Spike removal
108 1 Thomas Bretz
109 1 Thomas Bretz
(DrsCalibrate::RemoveSpikes3, originally developped by Werner Lustermann)
110 1 Thomas Bretz
111 1 Thomas Bretz
If the difference between a sample i and the average of its two neighbors (i-1 and i+1) is smaller than -10 and for the following sample (i+1), this difference has opposite sign and is at least 60% larger in absolute value, it is considered a single sample wide spike and the sample i is replaced by the average of its two neighbors. 
112 1 Thomas Bretz
113 1 Thomas Bretz
If this difference is smaller than -5 for sample i, and it was not detected as a single spike, it is checked for a 2-sample wide spike. If this differences is larger than 5 for its two following samples i+1 and i+2, the samples i+1 and i+2 are considered a double-spike and replaced by 1/3*[i+3] + 2/3*[i] and 2/3*[i+3] + 1/3*[i], respectively.
114 1 Thomas Bretz
115 1 Thomas Bretz
116 2 Thomas Bretz
## Sliding average
117 1 Thomas Bretz
118 1 Thomas Bretz
Not applied. Turned off by default.
119 1 Thomas Bretz
120 2 Thomas Bretz
# Saturation Treatment
121 1 Thomas Bretz
122 1 Thomas Bretz
(MTreatSaturation: MPedestalSubtractedEvt -> MPedestalSubtractedEvt)
123 1 Thomas Bretz
124 1 Thomas Bretz
Saturation is checked between sample 50 and 225 and is assumed if the maximum sample is this range is found to exceed 1900 (=1.9V). Using a 3rd-order spline, the crossing of 1.8V before and after the saturation point is determined. If the distance between both points is less than three samples, no action is taken. By a phenomenological approach (trained in ideal pulses from our paper), the amplitude and arrival time of the original pulse is estimated. Samples starting from 5 samples before the leading 1.8V crossing to 5 samples after the falling 1.8V crossing are then replaced with an ideal pulse calculated with the pulse shape from out paper. To get slightly more accurate result, a baseline is taken into account which is calculated as the average from the samples 10 to 50.
125 1 Thomas Bretz
126 2 Thomas Bretz
# Filter Data
127 1 Thomas Bretz
128 1 Thomas Bretz
(MFilterData: MPedestalSubtractedEvt -> MPedestalSubtractedEvt)
129 1 Thomas Bretz
130 1 Thomas Bretz
Each waveform is filtered with a 14-sample long, weighted sliding average with the following weights.
131 1 Thomas Bretz
132 1 Thomas Bretz
[[Image(Filter.png)]]
133 1 Thomas Bretz
134 1 Thomas Bretz
Weights re-sample the integral of the leading edge of our pulse (To be checked!) and are normalized such that the integral is 1. Note that this treatment logically turns the maximum determined during the signal extraction into the integral over the leading edge (is that correct?).
135 1 Thomas Bretz
136 1 Thomas Bretz
The filter is applied to the whole waveform.
137 1 Thomas Bretz
138 2 Thomas Bretz
# Software Trigger
139 1 Thomas Bretz
140 1 Thomas Bretz
(MSoftwareTriggerCalc: MPedestalSubtractedEvt -> MSoftwareTrigger)
141 1 Thomas Bretz
142 1 Thomas Bretz
The purpose of the software trigger is to mimic the real trigger with an arbitrary threshold which is high enough to keep a sample of pure shower events. The software trigger sums the waveforms of all nine pixels in a trigger patch (faulty pixels are excluded -- maybe this is not up to date!). From each summed sample, half the amplitude of the 15 sample previous to the sample is subtracted. This corresponds to the electronic clamping with a delay line in the trigger electronics. From these values, the global average and the global maximum of the minimum of each four consecutive values is obtained. The average, the global maximum and the position of the maximum is stored.
143 1 Thomas Bretz
144 2 Thomas Bretz
# Signal Extraction
145 1 Thomas Bretz
146 1 Thomas Bretz
(MExtractFact: MPedestalSubtractedEvt -> MExtractedSignalCam)
147 1 Thomas Bretz
148 1 Thomas Bretz
Signal extraction is applied between sample 25 and 225. The signal is extracted calculating a 2nd-order polynomial through the logarithm of each three consecutive samples. This is logically the same as fitting a Gaussian to each three points but uses an analytical approach. From all each three-points which have the global maximum of the polynomial in between, the one with the highest maximum is selected. This global maximum is defined as the signal of the pixel and the pulse position. The arrival time is defined searching backward from the pulse position for a maximum of 15 sample (7.5 ns). While every two consecutive samples are linearly interpolated, the point is searched where the leading samples cross half the height of the maximum for the first time. This point is called the arrival time of the pulse. If no leading edge is found, a uniform random number in the extraction window is assigned as arrival time. In addition, the difference between the position of the maximum and the half-height leading edge is stored.
149 1 Thomas Bretz
150 2 Thomas Bretz
# Amplitude Calibration
151 1 Thomas Bretz
152 1 Thomas Bretz
(MCalibrateFact: MExtractedSignalCam -> MSignalCam)
153 1 Thomas Bretz
154 1 Thomas Bretz
All pixel signals are multiplied with a factor 0.1024, to convert them to photon-equivalent units.
155 1 Thomas Bretz
156 2 Thomas Bretz
# Timing Calibration
157 1 Thomas Bretz
158 1 Thomas Bretz
(MCalibrateDrsTimes: MArrivalTimeCam -> MSignalCam)
159 1 Thomas Bretz
160 1 Thomas Bretz
The position of the pulse is corrected for the unequal sampling times of each sample introduced by the DRS4. The calibrated arrival time is the difference between the absolute (calibrated) time of the cell corresponding to the signal arrival time and the start cell. An additional delay obtained from the analysis of Muon rings is applied. The times are converted to nano-seconds.
161 1 Thomas Bretz
162 2 Thomas Bretz
# Bad Pixel Treatment
163 1 Thomas Bretz
164 1 Thomas Bretz
(MBadPixelsTreat: MSignalCam -> MSignalCam)
165 1 Thomas Bretz
166 1 Thomas Bretz
For pixels which are flagged as bad, their signal is calculated as the average signal of their neighboring pixels, if at least three valid pixels exist. The minimum and maximum arrival time of all valid neighbor pixels is determined, as well as the number and average arrival times of all pairs of neighbors in a close package configuration which have an arrival time difference of less than 3ns. If less than three neighbors belong to such pairs, the pixels is considered not to be part of a shower and the arrival time is replaces by a uniform random number between the obtained min and max arrival time. If more than three neighbors belong to such a group, the pixel is considered part of a shower and its arrival time is replaced by the obtained average. Pixels which could not be treated are flagged as unusable and are ignored in the following.
167 1 Thomas Bretz
168 2 Thomas Bretz
# Image Cleaning
169 1 Thomas Bretz
170 1 Thomas Bretz
(MImageCleanTime: MSignalCam -> MSignalCam)
171 1 Thomas Bretz
172 1 Thomas Bretz
In a first step islands are defined as groups of pixels in which each neighbor has an arrival time difference to at least one of its neighbors of less than $\Delta T/\Delta d=18.75ns/deg$. Note that also every pixel which does not have any neighbor within this time range forms a single-pixel sized island. For each of those individual islands, the earliest and latest arrival time within the island is obtained. If this range overlaps with the range of a neighboring island, both islands are fused into one larger island. This step is repeated until no further fusion is possible anymore. The size of an island is then defined as the sum of the signals of all pixels in the island. All pixels of an island survive image cleaning if the number of pixels N in the island and its size S exceed a user-defined threshold. Currently $N>0$ and $S>25$. The number of islands, size of the largest island and the residual size is kept. (How to handle negative sizes?)  
173 1 Thomas Bretz
174 1 Thomas Bretz
The remaining pixels which survived the cleaning step are called the image.
175 1 Thomas Bretz
176 1 Thomas Bretz
(MC Comparison: Emc, !NumPixels, How to prove that the increase of pixels is not just noise?)
177 1 Thomas Bretz
178 2 Thomas Bretz
# Image Parameters
179 1 Thomas Bretz
180 1 Thomas Bretz
181 2 Thomas Bretz
## Classical "Hillas" Parameters
182 1 Thomas Bretz
183 1 Thomas Bretz
(MHillas::Calc: MSignalCam -> MHillas)
184 1 Thomas Bretz
185 1 Thomas Bretz
The basic image parameters are just a simple statistical analysis of the light distribution in the camera. The image parameters '''MeanX/MeanY''' [mm] and '''!Width/Length''' [mm] are calculated from all pixels which survived cleaning, are not marked to be ignored and have a positive signal as the first and second moment of the signal distribution in the camera (classically known as Mean and Standard Deviation). The axis along which the second moment Length is calculated is defined such that Length is maximized and hence Width minimized. The corresponding orientation of the Length-axis in the camera is called the angle '''Delta''' [rad] and referred to as ''image axis'' in the following. Delta is defined w.r.t. the x-axis and defined between -PI/2 and PI/2. As a by-product and to increase precision of further calculations, sine and cosine of the angle Delta is stored as well.
186 1 Thomas Bretz
187 1 Thomas Bretz
The summed signal in those pixels is called '''Size''' [pe]. Images in which the total Size is 0 or in which only one or two pixels fulfill the mentioned criteria are discarded. This parameters are also known as ''Hillas Parameters''. Very often these statistical parameters are represented by an ellipse drawn around MeanX/MeanY oriented with the angle Delta and the major any minor axis Length and Width. The area spanned by an ellipse with the major axis Width and Length is called '''Area''' [mm^2].
188 1 Thomas Bretz
189 2 Thomas Bretz
## Extended "Hillas" Parameters
190 1 Thomas Bretz
191 1 Thomas Bretz
(MHillasExt::Calc: MSignalCam -> MHillasExt)
192 1 Thomas Bretz
193 1 Thomas Bretz
As an extension to the classical Hillas Parameters, the third moments along the image axis, and perpendicular to it, are calculated as '''M3Long''' [mm] and '''M3Trans''' [mm]. Positive values refer to a shift in the direction of the positive x-axis.
194 1 Thomas Bretz
195 2 Thomas Bretz
## Timing Parameters
196 1 Thomas Bretz
197 1 Thomas Bretz
To account for the time development within the shower, all arrival times in the image are projected along the image axis and perpendicular to it and a linear regression on this data is calculated. The resulting slopes along the shower axis and perpendicular are called '''!SlopeLong''' [ns/mm] and '''!SlopeTrans''' [ns/mm]. Positive values refer to a shift in the direction of the positive x-axis.
198 1 Thomas Bretz
199 1 Thomas Bretz
(What might be interesting to test is if the separation between the position of the mean arrival time and the position of the mean signal gives separation power)
200 1 Thomas Bretz
201 2 Thomas Bretz
## Leakage Parameter
202 1 Thomas Bretz
203 1 Thomas Bretz
(MNewImagePar::Calc: MSignalCam -> MNewImagePar)
204 1 Thomas Bretz
205 1 Thomas Bretz
The '''Leakage''' parameter "Leakage1" describes the fraction of the signal which is located in edge pixels of the camera. Edge pixels are all pixels which have less than six direct neighbors. The number of neighbors does not take into account whether the are marked as broken or not.
206 1 Thomas Bretz
207 2 Thomas Bretz
## Unit conversion
208 1 Thomas Bretz
209 1 Thomas Bretz
To convert from camera coordinates in milli-meters to angular distances, the small-angle approximation is used. The conversion fact for a focal distance of 4889mm is ~0.0117°/mm (0.0117193246260285378).
210 1 Thomas Bretz
211 1 Thomas Bretz
212 2 Thomas Bretz
# Source Position
213 1 Thomas Bretz
214 2 Thomas Bretz
## Calculation
215 2 Thomas Bretz
216 1 Thomas Bretz
(MSrcPosCalc: MPointingPos, MSourcePos -> MSrcPosCam)
217 1 Thomas Bretz
218 1 Thomas Bretz
The source position in the camera is calculated as the reflection of a single ray in the center of the reflector (the so called master-ray) on a planar surface at distance of 4889mm. For the calculation, perfect tracking is assumed and the source position is calculated from the right-ascension and declination of the observed source and the pointing position (rad/dec) at the time of each event.
219 1 Thomas Bretz
220 2 Thomas Bretz
## Abberation Correction
221 1 Thomas Bretz
222 1 Thomas Bretz
(MHillasSrc)
223 1 Thomas Bretz
224 1 Thomas Bretz
Due to abberation the reflected image is distorted. With Monte Carlo simulations using the existing measures reflector setup, it has been verified that image abberation shifts the center of the reflected light distribution of a point source 2% outwards. This is equal to a scale of the coordinate system. To account for this shift, the calculated source position is shifted outwards by 2% as well.
225 1 Thomas Bretz
226 2 Thomas Bretz
## Parameter Sign
227 1 Thomas Bretz
228 1 Thomas Bretz
To calculate the sign of M3Long/M3Trans and !SlopeLong/SlopeTrans w.r.t. to the source position, the source position is projected onto the image axis and perpendicular to it, respectively, with the center-of-gravity of the light distribution (MeanX/MeanY) as coordinate origin. The correct sign is then the original sign times the sign of the projection. The resulting sign then denotes whether the third moment and the time slope are pointing towards (negative) or away (positive) from the source position in the camera.
229 1 Thomas Bretz
230 2 Thomas Bretz
# Disp Calculation
231 1 Thomas Bretz
232 1 Thomas Bretz
(MFMagicCuts)
233 1 Thomas Bretz
234 1 Thomas Bretz
The source position is estimated using the so called Disp method (reference) in which the distance of the source from the center-of-gravity along the major axis is estimated from the geometrical distortion of the image. This distortion originates from viewing the shower under a certain inclination angle which results in an elliptic image. The estimated distance is called Disp.
235 1 Thomas Bretz
236 1 Thomas Bretz
Classically, the Disp-paramater P is calculated as
237 1 Thomas Bretz
238 1 Thomas Bretz
{{{#!Latex
239 1 Thomas Bretz
P = \xi\cdot(1-\frac{W}{L})
240 1 Thomas Bretz
}}}
241 1 Thomas Bretz
242 1 Thomas Bretz
For gammas from the source, P [°] should be identical to the distance D [here in deg] between source position and center-of-gravity. This can be used to train the method and to obtain xi. As this correlation is only relevant for gammas, ideally the obtained distance is corrected for misalignment to fall inside the PSF. Therefore, xi is optimized to obtain a minimal \Delta\xi
243 1 Thomas Bretz
{{{#!Latex
244 1 Thomas Bretz
\Delta\xi = \xi-\frac{D\cdot\sec\alpha}{1-\frac{W}{L}}
245 1 Thomas Bretz
}}}
246 1 Thomas Bretz
247 1 Thomas Bretz
It can be shown that \xi is not a constant but depends on the parameter !SlopeLong S and the Leakage L. Given that Slope S depends geometrically on Dist D (be more specific), it is not surprising that include Slope improves the calculation of xi. For images with leakage >0 the ratio W/L is deteriorated (Here is room for improvement as the calculation does not take the image orientation into account!). Therefore, xi is calculated as
248 1 Thomas Bretz
{{{#!Latex
249 1 Thomas Bretz
\xi := \xi_0 + \xi_1\cdot S + \xi_2\cdot\left( 1-\frac{1}{1+\xi_3\cdot L}\right)
250 1 Thomas Bretz
}}}
251 1 Thomas Bretz
252 1 Thomas Bretz
with the following parameters \xi_0=1.299°, \xi_1=0.0632° (°/ns), \xi_2=1.67972° and \xi_3=4.86232.
253 1 Thomas Bretz
254 1 Thomas Bretz
Further dependencies have been investigated but no significant dependency has been found. In particular, no dependence on the zenith angle could be found.