1 | \section{Pedestal Extraction \label{sec:pedestals}}
|
---|
2 |
|
---|
3 | \subsection{Pedestal RMS}
|
---|
4 |
|
---|
5 | The background $BG$ (Pedestal)
|
---|
6 | can be completely described by the noise-autocorrelation matrix $\boldsymbol{B}$
|
---|
7 | (eq.~\ref{eq:autocorr}),
|
---|
8 | where the diagonal elements give what is usually denoted as the ``Pedestal RMS''.
|
---|
9 | \par
|
---|
10 |
|
---|
11 | By definition, the $\boldsymbol{B}$ and thus the ``pedestal RMS''
|
---|
12 | is independent from the signal extractor.
|
---|
13 |
|
---|
14 | \subsection{Bias and Mean-squared Error}
|
---|
15 |
|
---|
16 | Consider a large number of same signals $S$. By applying a signal extractor
|
---|
17 | we obtain a distribution of estimated signals $\widehat{S}$ (for fixed $S$ and
|
---|
18 | fixed background fluctuations $BG$). The distribution of the quantity
|
---|
19 |
|
---|
20 | \begin{equation}
|
---|
21 | X = \widehat{S}-S
|
---|
22 | \end{equation}
|
---|
23 |
|
---|
24 | has the mean $B$ and the Variance $MSE$ defined as:
|
---|
25 |
|
---|
26 | \begin{eqnarray}
|
---|
27 | B \ \ \ \ = \ \ \ \ \ \ <X> \ \ \ \ \ &=& \ \ <\widehat{S}> \ -\ S\\
|
---|
28 | R \ \ \ \ = \ <(X-B)^2> &=& \ Var[\widehat{S}]\\
|
---|
29 | MSE \ = \ \ \ \ \ <X^2> \ \ \ \ &=& \ Var[\widehat{S}] +\ B^2
|
---|
30 | \end{eqnarray}
|
---|
31 |
|
---|
32 | The parameter $B$ is also called the {\textit{\bf BIAS}} of the estimator and $MSE$
|
---|
33 | the {\textit{\bf MEAN-SQUARED ERROR}} which combines the variance of $\widehat{S}$ and
|
---|
34 | the bias. Both depend generally on the size of $S$ and the background fluctuations $BG$,
|
---|
35 | thus: $B = B(S,BG)$ and $MSE = MSE(S,BG)$.
|
---|
36 |
|
---|
37 | \par
|
---|
38 | Usually, one measures easily the parameter $R$, but needs the $MSE$ for statistical analysis (e.g.
|
---|
39 | in the image cleaning).
|
---|
40 | However, only in case of a vanishing bias $B$, the two numbers are equal. Otherwise,
|
---|
41 | the bias $B$ has to be known beforehand. Note that every sliding window extractor has a
|
---|
42 | bias, especially at low or vanishing signals $S$.
|
---|
43 |
|
---|
44 | \subsection{Pedestal Fluctuations as Contribution to the Signal Fluctuations \label{sec:ffactor}}
|
---|
45 |
|
---|
46 | A photo-multiplier signal yields, to a very good approximation, the
|
---|
47 | following relation:
|
---|
48 |
|
---|
49 | \begin{equation}
|
---|
50 | \frac{Var[Q]}{<Q>^2} = \frac{1}{<n_{phe}>} * F^2
|
---|
51 | \end{equation}
|
---|
52 |
|
---|
53 | Here, $Q$ is the signal fluctuation due to the number of signal photo-electrons
|
---|
54 | (equiv. to the signal $S$), and $Var[Q]$ the fluctuations of the true signal $Q$
|
---|
55 | due to the Poisson fluctuations of the number of photo-electrons. Because of:
|
---|
56 |
|
---|
57 | \begin{eqnarray}
|
---|
58 | \widehat{Q} &=& Q + X \\
|
---|
59 | Var(\widehat{Q}) &=& Var(Q) + Var(X) \\
|
---|
60 | Var(Q) &=& Var(\widehat{Q}) - Var(X)
|
---|
61 | \end{eqnarray}
|
---|
62 |
|
---|
63 | $Var[Q]$ can be obtained from:
|
---|
64 |
|
---|
65 | \begin{eqnarray}
|
---|
66 | Var(Q) &\approx& Var(\widehat{Q}) - Var(\widehat{Q}=0)
|
---|
67 | \label{eq:rmssubtraction}
|
---|
68 | \end{eqnarray}
|
---|
69 |
|
---|
70 | In the last line of eq.~\ref{eq:rmssubtraction}, it is assumed that $R$ does not dependent
|
---|
71 | on the signal height\footnote{%
|
---|
72 | A way to check whether the right RMS has been subtracted is to make the
|
---|
73 | ``Razmick''-plot
|
---|
74 |
|
---|
75 | \begin{equation}
|
---|
76 | \frac{Var[\widehat{Q}]}{<\widehat{Q}>^2} \quad \textit{vs.} \quad \frac{1}{<\widehat{Q}>}
|
---|
77 | \end{equation}
|
---|
78 |
|
---|
79 | This should give a straight line passing through the origin. The slope of
|
---|
80 | the line is equal to
|
---|
81 |
|
---|
82 | \begin{equation}
|
---|
83 | c * F^2
|
---|
84 | \end{equation}
|
---|
85 |
|
---|
86 | where $c$ is the photon/ADC conversion factor $<Q>/<m_{pe}>$.}
|
---|
87 | (as is the case
|
---|
88 | for the digital filter, eq.~\ref{eq:of_noise}). One can then retrieve $R$
|
---|
89 | by applying the signal extractor to a {\textit{\bf fixed window}} of pedestal events, where the
|
---|
90 | bias vanishes and measure $Var[\widehat{Q}=0]$.
|
---|
91 |
|
---|
92 | \subsection{Methods to Retrieve Bias and Mean-Squared Error}
|
---|
93 |
|
---|
94 | In general, the extracted signal variance $R$ is different from the pedestal RMS.
|
---|
95 | It cannot be obtained by applying the signal extractor to pedestal events, because of the
|
---|
96 | (unknown) bias.
|
---|
97 | \par
|
---|
98 | In the case of the digital filter, $R$ is expected to be independent from the
|
---|
99 | signal amplitude $S$ and depends only on the background $BG$ (eq.~\ref{eq:of_noise}).
|
---|
100 | It can then be obtained from the calculation of the variance $Var[\widehat{Q}]$
|
---|
101 | by applying the extractor to a fixed window of pure background events (``pedestal events'')
|
---|
102 | and get rid of the bias in that way.
|
---|
103 | \par
|
---|
104 |
|
---|
105 | In order to calculate bias and Mean-squared error, we proceeded in the following ways:
|
---|
106 | \begin{enumerate}
|
---|
107 | \item Determine $R$ by applying the signal extractor to a fixed window
|
---|
108 | of pedestal events. The background fluctuations can be simulated with different
|
---|
109 | levels of night sky background and the continuous light source, but no signal size
|
---|
110 | dependency can be retrieved with this method.
|
---|
111 | \item Determine $B$ and $MSE$ from MC events with and without added noise.
|
---|
112 | Assuming that $MSE$ and $B$ are negligible for the events without noise, one can
|
---|
113 | get a dependency of both values from the size of the signal.
|
---|
114 | \item Determine $MSE$ from the fitted error of $\widehat{S}$, which is possible for the
|
---|
115 | fit and the digital filter (eq.~\ref{eq:of_noise}).
|
---|
116 | In principle, all dependencies can be retrieved with this method.
|
---|
117 | \end{enumerate}
|
---|
118 |
|
---|
119 |
|
---|
120 | \begin{figure}[htp]
|
---|
121 | \centering
|
---|
122 | \includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38993_RelMean.eps}
|
---|
123 | \vspace{\floatsep}
|
---|
124 | \includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38995_RelMean.eps}
|
---|
125 | \vspace{\floatsep}
|
---|
126 | \includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38996_RelMean.eps}
|
---|
127 | \caption{MExtractTimeAndChargeSpline with amplitude extraction:
|
---|
128 | Difference in mean pedestal (per FADC slice) between extraction algorithm
|
---|
129 | applied on a fixed window of 1 FADC slice (``extractor random'') and a simple addition of
|
---|
130 | 2 FADC slices (``fundamental''). On the left, a run with closed camera has been taken, in the center
|
---|
131 | an opened camera observing an extra-galactic star field and on the right, an open camera being
|
---|
132 | illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
|
---|
133 | pixel.}
|
---|
134 | \label{fig:amp:relmean}
|
---|
135 | \end{figure}
|
---|
136 |
|
---|
137 | \begin{figure}[htp]
|
---|
138 | \centering
|
---|
139 | \includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38993_RelMean.eps}
|
---|
140 | \vspace{\floatsep}
|
---|
141 | \includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38995_RelMean.eps}
|
---|
142 | \vspace{\floatsep}
|
---|
143 | \includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38996_RelMean.eps}
|
---|
144 | \caption{MExtractTimeAndChargeSpline with integral over 2 slices:
|
---|
145 | Difference in mean pedestal (per FADC slice) between extraction algorithm
|
---|
146 | applied on a fixed window of 2 FADC slices (``extractor random'') and a simple addition of
|
---|
147 | 2 FADC slices (``fundamental''). On the left, a run with closed camera has been taken, in the center
|
---|
148 | an opened camera observing an extra-galactic star field and on the right, an open camera being
|
---|
149 | illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
|
---|
150 | pixel.}
|
---|
151 | \label{fig:int:relmean}
|
---|
152 | \end{figure}
|
---|
153 |
|
---|
154 | \begin{figure}[htp]
|
---|
155 | \centering
|
---|
156 | \vspace{\floatsep}
|
---|
157 | \includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38993_RelMean.eps}
|
---|
158 | \vspace{\floatsep}
|
---|
159 | \includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38995_RelMean.eps}
|
---|
160 | \vspace{\floatsep}
|
---|
161 | \includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38996_RelMean.eps}
|
---|
162 | \caption{MExtractTimeAndChargeDigitalFilter:
|
---|
163 | Difference in mean pedestal (per FADC slice) between extraction algorithm
|
---|
164 | applied on a fixed window of 6 FADC slices and time-randomized weights (``extractor random'')
|
---|
165 | and a simple addition of
|
---|
166 | 6 FADC slices (``fundamental''). On the left, a run with closed camera has been taken, in the center
|
---|
167 | an opened camera observing an extra-galactic star field and on the right, an open camera being
|
---|
168 | illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
|
---|
169 | pixel.}
|
---|
170 | \label{fig:df:relmean}
|
---|
171 | \end{figure}
|
---|
172 |
|
---|
173 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
174 |
|
---|
175 | \subsubsection{ \label{sec:ped:fixedwindow} Application of the Signal Extractor to a Fixed Window
|
---|
176 | of Pedestal Events}
|
---|
177 |
|
---|
178 | By applying the signal extractor to a fixed window of pedestal events, we
|
---|
179 | determine the parameter $R$ for the case of no signal ($Q = 0$). In the case of
|
---|
180 | extractors using a fixed window (extractors nr. \#1 to \#22
|
---|
181 | in section~\ref{sec:algorithms}), the results are the same by construction
|
---|
182 | as calculating the pedestal RMS.
|
---|
183 | \par
|
---|
184 | In MARS, this functionality is implemented with a function-call to: \\
|
---|
185 |
|
---|
186 | {\textit{\bf MJPedestal::SetExtractionWithExtractorRndm()}} and/or \\
|
---|
187 | {\textit{\bf MExtractPedestal::SetRandomCalculation()}}\\
|
---|
188 |
|
---|
189 | Besides fixing the global extraction window, additionally the following steps are undertaken
|
---|
190 | in order to assure that the bias vanishes:
|
---|
191 |
|
---|
192 | \begin{description}
|
---|
193 | \item[\textit{MExtractTimeAndChargeSpline}:\xspace] The spline
|
---|
194 | maximum position -- which determines the exact extraction window -- is placed arbitrarily
|
---|
195 | at a random place within the digitizing binning resolution of one central FADC slice.
|
---|
196 | \item[\textit{MExtractTimeAndChargeDigitalFilter}:\xspace] The second step timing
|
---|
197 | offset $\tau$ (eq.~\ref{eq:offsettau}) gets randomized for each event.
|
---|
198 | \end{description}
|
---|
199 |
|
---|
200 | \par
|
---|
201 |
|
---|
202 | The following figures~\ref{fig:amp:relmean} through~\ref{fig:df:relrms} show results
|
---|
203 | obtained with the second method for three background intensities:
|
---|
204 |
|
---|
205 | \begin{enumerate}
|
---|
206 | \item Closed camera and no (Poissonian) fluctuation due to photons from the night sky background
|
---|
207 | \item The camera pointing to an extra-galactic region with stars in the field of view
|
---|
208 | \item The camera illuminated by a continuous light source of intensity 100.
|
---|
209 | \end{enumerate}
|
---|
210 |
|
---|
211 | Figures~\ref{fig:amp:relmean} through~\ref{fig:df:relmean}
|
---|
212 | show the calculated biases obtained with this method for all pixels in the camera
|
---|
213 | and for the different levels of (night-sky) background.
|
---|
214 | One can see that the bias vanishes to an accuracy of better than 1\%
|
---|
215 | for the extractors which are used in this TDAS.
|
---|
216 |
|
---|
217 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%1
|
---|
218 |
|
---|
219 | \begin{figure}[htp]
|
---|
220 | \centering
|
---|
221 | \includegraphics[width=0.47\linewidth]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38993_RMSDiff.eps}
|
---|
222 | \vspace{\floatsep}
|
---|
223 | \includegraphics[width=0.47\linewidth]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38995_RMSDiff.eps}
|
---|
224 | \vspace{\floatsep}
|
---|
225 | \includegraphics[width=0.47\linewidth]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38996_RMSDiff.eps}
|
---|
226 | \caption{MExtractTimeAndChargeSpline with amplitude:
|
---|
227 | Difference in RMS (per FADC slice) between extraction algorithm
|
---|
228 | applied on a fixed window and the corresponding pedestal RMS.
|
---|
229 | Closed camera (left), open camera observing extra-galactic star field (right) and
|
---|
230 | camera being illuminated by the continuous light (bottom).
|
---|
231 | Every entry corresponds to one pixel.}
|
---|
232 | \label{fig:amp:relrms}
|
---|
233 | \end{figure}
|
---|
234 |
|
---|
235 |
|
---|
236 | \begin{figure}[htp]
|
---|
237 | \centering
|
---|
238 | \includegraphics[width=0.47\linewidth]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38993_RMSDiff.eps}
|
---|
239 | \vspace{\floatsep}
|
---|
240 | \includegraphics[width=0.47\linewidth]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38995_RMSDiff.eps}
|
---|
241 | \vspace{\floatsep}
|
---|
242 | \includegraphics[width=0.47\linewidth]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38996_RMSDiff.eps}
|
---|
243 | \caption{MExtractTimeAndChargeSpline with integral over 2 slices:
|
---|
244 | Difference in RMS (per FADC slice) between extraction algorithm
|
---|
245 | applied on a fixed window and the corresponding pedestal RMS.
|
---|
246 | Closed camera (left), open camera observing extra-galactic star field (right) and
|
---|
247 | camera being illuminated by the continuous light (bottom).
|
---|
248 | Every entry corresponds to one
|
---|
249 | pixel.}
|
---|
250 | \label{fig:amp:relrms}
|
---|
251 | \end{figure}
|
---|
252 |
|
---|
253 |
|
---|
254 | \begin{figure}[htp]
|
---|
255 | \centering
|
---|
256 | \includegraphics[width=0.47\linewidth]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38993_RMSDiff.eps}
|
---|
257 | \vspace{\floatsep}
|
---|
258 | \includegraphics[width=0.47\linewidth]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38995_RMSDiff.eps}
|
---|
259 | \vspace{\floatsep}
|
---|
260 | \includegraphics[width=0.47\linewidth]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38996_RMSDiff.eps}
|
---|
261 | \caption{MExtractTimeAndChargeDigitalFilter:
|
---|
262 | Difference in RMS (per FADC slice) between extraction algorithm
|
---|
263 | applied on a fixed window and the corresponding pedestal RMS.
|
---|
264 | Closed camera (left), open camera observing extra-galactic star field (right) and
|
---|
265 | camera being illuminated by the continuous light (bottom).
|
---|
266 | Every entry corresponds to one pixel.}
|
---|
267 | \label{fig:df:relrms}
|
---|
268 | \end{figure}
|
---|
269 |
|
---|
270 |
|
---|
271 |
|
---|
272 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
273 |
|
---|
274 | Figures~\ref{fig:amp:relrms} through~\ref{fig:amp:relrms} show the
|
---|
275 | differences in $R$ between the calculated pedestal RMS and
|
---|
276 | the one obtained by applying the extractor, converted to equivalent photo-electrons. One entry
|
---|
277 | corresponds to one pixel of the camera.
|
---|
278 | The distributions have a negative mean in the case of the digital filter showing the
|
---|
279 | ``filter'' capacity of that algorithm. It ``filters out'' between 0.12 photo-electrons night sky
|
---|
280 | background for the extra-galactic star-field until 0.2 photo-electrons for the continuous light.
|
---|
281 |
|
---|
282 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
283 |
|
---|
284 |
|
---|
285 | \subsubsection{ \label{sec:ped:slidingwindow} Application of the Signal Extractor to a Sliding Window
|
---|
286 | of Pedestal Events}
|
---|
287 |
|
---|
288 | By applying the signal extractor to a global extraction window of pedestal events, allowing
|
---|
289 | it to ``slide'' and maximize the encountered signal, we
|
---|
290 | determine the bias $B$ and the mean-squared error $MSE$ for the case of no signal ($S=0$).
|
---|
291 | \par
|
---|
292 | In MARS, this functionality is implemented with a function-call to: \\
|
---|
293 |
|
---|
294 | {\textit{\bf MJPedestal::SetExtractionWithExtractor()}} \\
|
---|
295 |
|
---|
296 | \par
|
---|
297 | Table~\ref{tab:bias} shows bias, resolution and mean-square error for all extractors using
|
---|
298 | a sliding window. In this sample, every extractor had the freedom to move 5 slices,
|
---|
299 | i.e. the global window size was fixed to five plus the extractor window size. This first line
|
---|
300 | shows the resolution of the smallest existing robust fixed window algorithm in order to give the reference
|
---|
301 | value of 2.5 and 3 photo-electrons RMS.
|
---|
302 | \par
|
---|
303 | One can see that the bias $B$ typically decreases
|
---|
304 | with increasing window size (except for the digital filter), while the error $R$ increases with
|
---|
305 | increasing window size. There is also a small difference between the obtained error on a fixed window
|
---|
306 | extraction and the one obtained from a sliding window extraction in the case of the spline and digital
|
---|
307 | filter algorithms.
|
---|
308 | The mean-squared error has an optimum somewhere between: In the case of the
|
---|
309 | sliding window and the spline at the lowest window size, in the case of the digital filter
|
---|
310 | at 4 slices. The global winners are extractors \#25 (spline with integration of 1 slice) and \#29
|
---|
311 | (digital filter with integration of 4 slices). All sliding window extractors -- except \#21 --
|
---|
312 | have a smaller mean-square error than the resolution of the fixed window reference extractor. This means
|
---|
313 | that the global error of the sliding window extractors is smaller than the one of the fixed window extractors
|
---|
314 | even if the first have a bias.
|
---|
315 |
|
---|
316 | \begin{table}[htp]
|
---|
317 | \centering
|
---|
318 | \scriptsize{
|
---|
319 | \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}
|
---|
320 | \hline
|
---|
321 | \hline
|
---|
322 | \multicolumn{14}{|c|}{Statistical Parameters for $S=0$} \\
|
---|
323 | \hline
|
---|
324 | \hline
|
---|
325 | & & \multicolumn{4}{|c|}{Closed camera} & \multicolumn{4}{|c|}{Extra-galactic NSB} & \multicolumn{4}{|c|}{Galactic NSB} \\
|
---|
326 | \hline
|
---|
327 | \hline
|
---|
328 | Nr. & Name & $R$ & $R$ & $B$ & $\sqrt{MSE}$ & $R$ &$R$ & $B$ & $\sqrt{MSE}$& $R$ & $R$& $B$ & $\sqrt{MSE}$ \\
|
---|
329 | & & (FW) & (SW)& (SW)& (SW) & (FW) &(SW) & (SW)& (SW) & (FW)&(SW) & (SW)&(SW) \\
|
---|
330 | \hline
|
---|
331 | \hline
|
---|
332 | 4 & Fixed Win. 8 & 1.2 & -- & 0.0 & 1.2 & 2.5 & -- & 0.0 & 2.5 & 3.0 & -- & 0.0 & 3.0 \\
|
---|
333 | \hline
|
---|
334 | -- & Slid. Win. 1 & 0.4 & 0.4 & 0.4 & 0.6 & 1.2 & 1.2 & 1.3 & 1.8 & 1.4 & 1.4 & 1.5 & 2.0 \\
|
---|
335 | 17 & Slid. Win. 2 & 0.5 & 0.5 & 0.4 & 0.6 & 1.4 & 1.4 & 1.2 & 1.8 & 1.6 & 1.6 & 1.5 & 2.2 \\
|
---|
336 | 18 & Slid. Win. 4 & 0.8 & 0.8 & 0.5 & 0.9 & 1.9 & 1.9 & 1.2 & 2.2 & 2.2 & 2.3 & 1.6 & 2.8 \\
|
---|
337 | 20 & Slid. Win. 6 & 1.0 & 1.0 & 0.4 & 1.1 & 2.2 & 2.2 & 1.1 & 2.5 & 2.6 & 2.7 & 1.4 & 3.0 \\
|
---|
338 | 21 & Slid. Win. 8 & 1.2 & 1.3 & 0.4 & 1.4 & 2.5 & 2.5 & 1.0 & 2.7 & 3.0 & 3.2 & 1.4 & 3.5 \\
|
---|
339 | \hline
|
---|
340 | 23 & Spline Amp. & 0.4 & \textcolor{red}{\bf 0.4} & 0.4 & 0.6 & 1.1 & 1.2 & 1.3 & 1.8 & 1.3 & 1.4 & 1.6 & 2.1 \\
|
---|
341 | 24 & \textcolor{red}{\bf Spline Int. 1} & 0.4 & \textcolor{red}{\bf 0.4} & 0.3 & \textcolor{red}{\bf 0.5} & 1.0 & 1.2 & 1.0 & 1.6 & 1.3 & \textcolor{red}{\bf 1.3} & 1.3 & \textcolor{red}{\bf 1.8} \\
|
---|
342 | 25 & Spline Int. 2 & 0.5 & 0.5 & 0.3 & 0.6 & 1.3 & 1.4 & 0.9 & 1.7 & 1.7 & 1.6 & 1.2 & 2.0 \\
|
---|
343 | 26 & Spline Int. 4 & 0.7 & 0.7 & \textcolor{red}{\bf 0.2 } & 0.7 & 1.5 & 1.7 & \textcolor{red}{\bf 0.8} & 1.9 & 2.0 & 2.0 & 1.0 & 2.2 \\
|
---|
344 | 27 & Spline Int. 6 & 1.0 & 1.0 & 0.3 & 1.0 & 2.0 & 2.0 & \textcolor{red}{\bf 0.8} & 2.2 & 2.6 & 2.5 & \textcolor{red}{\bf 0.9} & 2.7 \\
|
---|
345 | \hline
|
---|
346 | 28 & Dig. Filt. 6 & 0.4 & 0.5 & 0.4 & 0.6 & 1.1 & 1.3 & 1.3 & 1.8 & 1.3 & 1.5 & 1.5 & 2.1 \\
|
---|
347 | 29 & \textcolor{red}{\bf Dig. Filt. 4} & 0.3 & \textcolor{red}{\bf 0.4} & 0.3 & \textcolor{red}{\bf 0.5} & 0.9 & \textcolor{red}{\bf 1.1} & 1.0 & \textcolor{red}{\bf 1.5} & 1.1 & 1.4 & 1.2 & \textcolor{red}{\bf 1.8} \\
|
---|
348 | \hline
|
---|
349 | \hline
|
---|
350 | \end{tabular}
|
---|
351 | }
|
---|
352 | \caption{The statistical parameters bias, resolution and mean error for the sliding window
|
---|
353 | algorithm. The first line displays the resolution of the smallest existing robust fixed--window extractor
|
---|
354 | for reference. All units in equiv.
|
---|
355 | photo-electrons, uncertainty: 0.1 phes. All extractors were allowed to move 5 FADC slices plus
|
---|
356 | their window size. The ``winners'' for each row are marked in red. Global winners (within the given
|
---|
357 | uncertainty) are the extractors Nr. \#24 (MExtractTimeAndChargeSpline with an integration window of
|
---|
358 | 1 FADC slice) and Nr.\#29
|
---|
359 | (MExtractTimeAndChargeDigitalFilter with an integration window size of 4 slices)}
|
---|
360 | \label{tab:bias}
|
---|
361 | \end{table}
|
---|
362 |
|
---|
363 | Figures~\ref{fig:sw:distped} through~\ref{fig:df:distped} show the
|
---|
364 | extracted pedestal distributions for some selected extractors (\#18, \#23, \#25 and \#28)
|
---|
365 | for one exemplary channel (pixel 100) and two background situations: Closed camera with only electronic
|
---|
366 | noise and open camera pointing to an extra-galactic source.
|
---|
367 | One can see the (asymmetric) Poisson behaviour of the
|
---|
368 | night sky background photons for the distributions with open camera.
|
---|
369 |
|
---|
370 | \begin{figure}[htp]
|
---|
371 | \centering
|
---|
372 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-18-Run38993.eps}
|
---|
373 | \vspace{\floatsep}
|
---|
374 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-18-Run38995.eps}
|
---|
375 | \caption{MExtractTimeAndChargeSlidingWindow with extraction window of 4 FADC slices:
|
---|
376 | Distribution of extracted "pedestals" from pedestal run with
|
---|
377 | closed camera (top) and open camera observing an extra-galactic star field (bottom) for one channel
|
---|
378 | (pixel 100). The result obtained from a simple addition of 4 FADC
|
---|
379 | slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application of
|
---|
380 | the algorithm on
|
---|
381 | a fixed window of 4 FADC slices as blue histogram (``extractor random'') and the one obtained from the
|
---|
382 | full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
|
---|
383 | RMSs have been converted to equiv. photo-electrons.}
|
---|
384 | \label{fig:sw:distped}
|
---|
385 | \end{figure}
|
---|
386 |
|
---|
387 |
|
---|
388 | \begin{figure}[htp]
|
---|
389 | \centering
|
---|
390 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-23-Run38993.eps}
|
---|
391 | \vspace{\floatsep}
|
---|
392 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-23-Run38995.eps}
|
---|
393 | \caption{MExtractTimeAndChargeSpline with amplitude extraction:
|
---|
394 | Spectrum of extracted "pedestals" from pedestal run with
|
---|
395 | closed camera lids (top) and open lids observing an extra-galactic star field (bottom) for one channel
|
---|
396 | (pixel 100). The result obtained from a simple addition of 2 FADC
|
---|
397 | slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application
|
---|
398 | of the algorithm on a fixed window of 1 FADC slice as blue histogram (``extractor random'')
|
---|
399 | and the one obtained from the
|
---|
400 | full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
|
---|
401 | RMSs have been converted to equiv. photo-electrons.}
|
---|
402 | \label{fig:amp:distped}
|
---|
403 | \end{figure}
|
---|
404 |
|
---|
405 | \begin{figure}[htp]
|
---|
406 | \centering
|
---|
407 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-25-Run38993.eps}
|
---|
408 | \vspace{\floatsep}
|
---|
409 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-25-Run38995.eps}
|
---|
410 | \caption{MExtractTimeAndChargeSpline with integral extraction over 2 FADC slices:
|
---|
411 | Distribution of extracted "pedestals" from pedestal run with
|
---|
412 | closed camera lids (top) and open lids observing an extra-galactic star field (bottom) for one channel
|
---|
413 | (pixel 100). The result obtained from a simple addition of 2 FADC
|
---|
414 | slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application
|
---|
415 | of time-randomized weights on a fixed window of 2 FADC slices as blue histogram and the one obtained from the
|
---|
416 | full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
|
---|
417 | RMSs have been converted to equiv. photo-electrons.}
|
---|
418 | \label{fig:int:distped}
|
---|
419 | \end{figure}
|
---|
420 |
|
---|
421 | \begin{figure}[htp]
|
---|
422 | \centering
|
---|
423 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-28-Run38993.eps}
|
---|
424 | \vspace{\floatsep}
|
---|
425 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-28-Run38995.eps}
|
---|
426 | \caption{MExtractTimeAndChargeDigitalFilter: Spectrum of extracted "pedestals" from pedestal run with
|
---|
427 | closed camera lids (top) and open lids observing an extra-galactic star field (bottom) for one channel
|
---|
428 | (pixel 100). The result obtained from a simple addition of 6 FADC
|
---|
429 | slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application
|
---|
430 | of time-randomized weights on a fixed window of 6 slices as blue histogram and the one obtained from the
|
---|
431 | full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
|
---|
432 | RMSs have been converted to equiv. photo-electrons.}
|
---|
433 | \label{fig:df:distped}
|
---|
434 | \end{figure}
|
---|
435 |
|
---|
436 | \subsection{ \label{sec:ped:singlephe} Single Photo-Electron Extraction with the Digital Filter}
|
---|
437 |
|
---|
438 | Figures~\ref{fig:df:sphespectrum} show spectra
|
---|
439 | obtained with the digital filter applied on two different global search windows.
|
---|
440 | One can clearly distinguish a pedestal peak (fitted to Gaussian with index 0)
|
---|
441 | and further, positive contributions.
|
---|
442 | \par
|
---|
443 | Because the background is determined by the single photo-electrons from the night-sky background,
|
---|
444 | the following possibilities can occur:
|
---|
445 |
|
---|
446 | \begin{enumerate}
|
---|
447 | \item There is no ``signal'' (photo-electron) in the extraction window and the extractor
|
---|
448 | finds only electronic noise.
|
---|
449 | Usually, the returned signal charge is then negative.
|
---|
450 | \item There is one photo-electron in the extraction window and the extractor finds it.
|
---|
451 | \item There are more than on photo-electrons in the extraction window, but separated by more than
|
---|
452 | two FADC slices whereupon the extractor finds the one with the highest charge (upward fluctuation).
|
---|
453 | \item The extractor finds an overlap of two or more photo-electrons.
|
---|
454 | \end{enumerate}
|
---|
455 |
|
---|
456 | Although the probability to find a certain number of photo-electrons in a fixed window follows a
|
---|
457 | Poisson distribution, the one for employing the sliding window is {\textit{not}} Poissonian. The extractor
|
---|
458 | will usually find one photo-electron even if more are present in the global search window, i.e. the
|
---|
459 | probability for two or more photo-electrons to occur in the global search window is much higher than
|
---|
460 | the probability for these photo-electrons to overlap in time such as to be recognized as a double
|
---|
461 | or triple photo-electron pulse by the extractor. This is especially true for small extraction windows
|
---|
462 | and for the digital filter.
|
---|
463 |
|
---|
464 | \par
|
---|
465 |
|
---|
466 | Given a global extraction window of size $WS$ and an average rate of photo-electrons from the night-sky
|
---|
467 | background $R$, we will now calculate the probability for the extractor to find zero photo-electrons in the
|
---|
468 | $WS$. The probability to find any number of $k$ photo-electrons can be written as:
|
---|
469 |
|
---|
470 | \begin{equation}
|
---|
471 | P(k) = \frac{e^{-R\cdot WS} (R \cdot WS)^k}{k!}
|
---|
472 | \end{equation}
|
---|
473 |
|
---|
474 | and thus:
|
---|
475 |
|
---|
476 | \begin{equation}
|
---|
477 | P(0) = e^{-R\cdot WS}
|
---|
478 | \end{equation}
|
---|
479 |
|
---|
480 | The probability to find one or more photo-electrons is then:
|
---|
481 |
|
---|
482 | \begin{equation}
|
---|
483 | P(>0) = 1 - e^{-R\cdot WS}
|
---|
484 | \end{equation}
|
---|
485 |
|
---|
486 | In figures~\ref{fig:df:sphespectrum},
|
---|
487 | one can clearly distinguish the pedestal peak (fitted to Gaussian with index 0),
|
---|
488 | corresponding to the case of $P(0)$ and further
|
---|
489 | contributions of $P(1)$ and $P(2)$ (fitted to Gaussians with index 1 and 2).
|
---|
490 | One can also see that the contribution of $P(0)$ dimishes
|
---|
491 | with increasing global search window size.
|
---|
492 |
|
---|
493 | \begin{figure}
|
---|
494 | \centering
|
---|
495 | \includegraphics[height=0.3\textheight]{SinglePheSpectrum-28-Run38995-WS2.5.eps}
|
---|
496 | \vspace{\floatsep}
|
---|
497 | \includegraphics[height=0.3\textheight]{SinglePheSpectrum-28-Run38995-WS4.5.eps}
|
---|
498 | \vspace{\floatsep}
|
---|
499 | \includegraphics[height=0.3\textheight]{SinglePheSpectrum-28-Run38995-WS8.5.eps}
|
---|
500 | \caption{MExtractTimeAndChargeDigitalFilter: Spectrum obtained from the extraction
|
---|
501 | of a pedestal run using a sliding window of 6 FADC slices allowed to move within a window of
|
---|
502 | 7 (top), 9 (center) and 13 slices.
|
---|
503 | A pedestal run with galactic star background has been taken and one exemplary pixel (Nr. 100).
|
---|
504 | One can clearly see the pedestal contribution and a further part corresponding to one or more
|
---|
505 | photo-electrons.}
|
---|
506 | \label{fig:df:sphespectrum}
|
---|
507 | \end{figure}
|
---|
508 |
|
---|
509 | In the following, we will make a short consistency test: Assuming that the spectral peaks are
|
---|
510 | attributed correctly, one would expect the following relation:
|
---|
511 |
|
---|
512 | \begin{equation}
|
---|
513 | P(0) / P(>0) = \frac{e^{-R\cdot WS}}{1-e^{-R\cdot WS}}
|
---|
514 | \end{equation}
|
---|
515 |
|
---|
516 | We tested this relation assuming that the fitted area underneath the pedestal peak Area$_0$ is
|
---|
517 | proportional to $P(0)$ and the sum of the fitted areas underneath the single photo-electron peak
|
---|
518 | Area$_1$ and the double photo-electron peak Area$_2$ proportional to $P(>0)$. Thus, one expects:
|
---|
519 |
|
---|
520 | \begin{equation}
|
---|
521 | \mathrm{Area}_0 / (\mathrm{Area}_1 + \mathrm{Area}_2 ) = \frac{e^{-R\cdot WS}}{1-e^{-R\cdot WS}}
|
---|
522 | \end{equation}
|
---|
523 |
|
---|
524 | We estimated the effective window size $WS$ as the sum of the range in which the digital filter
|
---|
525 | amplitude weights are greater than 0.5 (1.5 FADC slices) and the global search window minus the
|
---|
526 | size of the window size of the weights (which is 6 FADC slices). Figures~\ref{fig:df:ratiofit}
|
---|
527 | show the result for two different levels of night-sky background. The fitted rates deliver
|
---|
528 | 0.08 and 0.1 phes/ns, respectively. These rates are about 50\% too low compared to the results obtained
|
---|
529 | in the November 2004 test campaign. However, we should take into account that the method is at
|
---|
530 | the limit of distinguishing single photo-electrons. It may occur often that a single photo-electron
|
---|
531 | signal is too low in order to get recognized as such. We tried various pixels and found that
|
---|
532 | some of them do not permit to apply this method at all. The ones which succeed, however, yield about
|
---|
533 | the same fitted rates. To conclude, one may say that there is consistency within the double-peak
|
---|
534 | structure of the pedestal spectrum found by the digital filter which can be explained by the fact that
|
---|
535 | single photo-electrons are found.
|
---|
536 | \par
|
---|
537 |
|
---|
538 | \begin{figure}[htp]
|
---|
539 | \centering
|
---|
540 | \includegraphics[height=0.4\textheight]{SinglePheRatio-28-Run38995.eps}
|
---|
541 | \vspace{\floatsep}
|
---|
542 | \includegraphics[height=0.4\textheight]{SinglePheRatio-28-Run39258.eps}
|
---|
543 | \caption{MExtractTimeAndChargeDigitalFilter: Fit to the ratio of the area beneath the pedestal peak and
|
---|
544 | the single and double photo-electron(s) peak(s) with the extraction algorithm
|
---|
545 | applied on a sliding window of different sizes.
|
---|
546 | In the top plot, a pedestal run with extra-galactic star background has been taken and in the bottom,
|
---|
547 | a galatic star background. An exemplary pixel (Nr. 100) has been used.
|
---|
548 | Above, a rate of 0.08 phe/ns and below, a rate of 0.1 phe/ns has been obtained.}
|
---|
549 | \label{fig:df:ratiofit}
|
---|
550 | \end{figure}
|
---|
551 |
|
---|
552 | Figure~\ref{fig:df:convfit} shows the obtained ``conversion factors'' and ``F-Factor'' computed as:
|
---|
553 |
|
---|
554 | \begin{eqnarray}
|
---|
555 | c_{phe} &=& \frac{1}{\mu_1 - \mu_0} \\
|
---|
556 | F_{phe} &=& \sqrt{1 + \frac{\sigma_1^2 - \sigma_0^2}{(\mu_1 - \mu_0)^2} }
|
---|
557 | \end{eqnarray}
|
---|
558 |
|
---|
559 | where $\mu_0$ is the mean position of the pedestal peak and $\mu_1$ the mean position of the (assumed)
|
---|
560 | single photo-electron peak. The obtained conversion factors are systematically lower than the ones
|
---|
561 | obtained from the standard calibration and decrease with increasing window size. This is consistent
|
---|
562 | with the assumption that the digital filter finds the upward fluctuating pulse out of several. Therefore,
|
---|
563 | $\mu_1$ is biased against higher values. The F-Factor is also systematically low, which is also consistent
|
---|
564 | with the assumption that the spacing between $\mu_1$ and $\mu_0$ is artificially high. One can also see
|
---|
565 | that the error bars are too high for a ``calibration'' of the F-Factor.
|
---|
566 | \par
|
---|
567 | In conclusion, one can say that the digital filter is at the edge of being able to see single photo-electrons,
|
---|
568 | however a single photo-electron calibration cannot yet be done with the current FADC system because the
|
---|
569 | resolution is too poor.
|
---|
570 |
|
---|
571 | \begin{figure}[htp]
|
---|
572 | \centering
|
---|
573 | \includegraphics[height=0.4\textheight]{ConvFactor-28-Run38995.eps}
|
---|
574 | \vspace{\floatsep}
|
---|
575 | \includegraphics[height=0.4\textheight]{FFactor-28-Run38995.eps}
|
---|
576 | \caption{MExtractTimeAndChargeDigitalFilter: Obtained conversion factors (top) and F-Factors (bottom)
|
---|
577 | from the position and width of
|
---|
578 | the fitted Gaussian mean of the single photo-electron peak and the pedestal peak depending on
|
---|
579 | the applied global extraction window sizes.
|
---|
580 | A pedestal run with extra-galactic star background has been taken and
|
---|
581 | an exemplary pixel (Nr. 100) used. The conversion factor obtained from the
|
---|
582 | standard calibration is shown as a reference line. The obtained conversion factors are systematically
|
---|
583 | lower than the reference one.}
|
---|
584 | \label{fig:df:convfit}
|
---|
585 | \end{figure}
|
---|
586 |
|
---|
587 |
|
---|
588 |
|
---|
589 | %%% Local Variables:
|
---|
590 | %%% mode: latex
|
---|
591 | %%% TeX-master: "MAGIC_signal_reco"
|
---|
592 | %%% TeX-master: "MAGIC_signal_reco"
|
---|
593 | %%% TeX-master: "MAGIC_signal_reco"
|
---|
594 | %%% End:
|
---|