source: trunk/MagicSoft/TDAS-Extractor/Pedestal.tex@ 5544

Last change on this file since 5544 was 5544, checked in by gaug, 20 years ago
*** empty log message ***
File size: 12.4 KB
Line 
1\section{Criteria for an optimal pedestal extraction}
2
3\ldots {\it In this section, the distinction is made between:
4\begin{itemize}
5\item Defining the pedestal RMS as contribution
6 to the extracted signal fluctuations (later used in the calibration)
7\item Defining the Pedestal Mean and RMS as the result of distributions obtained by
8 applying the extractor to pedestal runs (yielding biases and modified widths).
9\item Deriving the correct probability for background fluctuations based on the extracted signal height.
10 ( including biases and modified widths).
11\end{itemize}
12}
13
14\subsection{Pedestal RMS}
15
16
17\vspace{1cm}
18\ldots {\it Modified email by W. Wittek from 25 Oct 2004 and 10 Nov 2004}
19\vspace{1cm}
20
21The Pedestal RMS can be completely described by the matrix
22
23\begin{equation}
24 < (P_i - <P_i>) * (P_j - <P_j>) >
25\end{equation}
26
27where $i$ and $j$ denote the $i^{th}$ and $j^{th}$ FADC slice and
28$P_i$ is the pedestal
29value in slice $i$ for an event and the average $<>$ is over many events (usually 1000).
30\par
31
32By definition, the pedestal RMS is independent from the signal extractor.
33Therefore, no signal extractor is needed to calculate the pedestals.
34
35\subsection{Bias and Error}
36
37Consider a large number of signals (FADC spectra), all with the same
38integrated charge $ST$ (true signal). By applying some signal extractor
39we obtain a distribution of extracted signals $SE$ (for fixed $ST$ and
40fixed background fluctuations $BG$). The distribution of the quantity
41
42\begin{equation}
43X = SE-ST
44\end{equation}
45
46has the mean $B$ and the RMS $R$
47
48\begin{eqnarray}
49 B &=& <X> \\
50 R^2 &=& <(X-B)^2>
51\end{eqnarray}
52
53One may also define
54
55\begin{equation}
56 D^2 = <(SE-ST)^2> = <(SE-ST-B + B)^2> = B^2 + R^2
57\end{equation}
58
59$B$ is the bias, $R$ is the RMS of the distribution of $X$ and $D$ is something
60like the (asymmetric) error of $SE$.
61The distribution of $X$, and thus the parameters $B$ and $R$,
62depend on the size of $ST$ and the size of the background fluctuations $BG$.
63
64\par
65
66For the normal image cleaning, knowledge of $B$ is sufficient and the
67error $R$ should be know in order to calculate a correct background probability.
68\par
69Also for the model analysis $B$ and $R$ are needed, because you want to keep small
70signals.
71\par
72In the case of the calibration with the F-Factor methoid,
73the basic relation is:
74
75\begin{equation}
76\frac{(\Delta ST)^2}{<ST>^2} = \frac{1}{<m_{pe}>} * F^2
77\end{equation}
78
79Here $\Delta ST$ is the fluctuation of the true signal $ST$ due to the
80fluctuation of the number of photo electrons. $ST$ is obtained from the
81measured fluctuations of $SE$ ($RMS_{SE}$) by subtracting the fluctuation of the
82extracted signal ($R$) due to the fluctuation of the pedestal.
83
84\begin{equation}
85 (\Delta ST)^2 = RMS_{SE}^2 - R^2
86\end{equation}
87
88A way to check whether the right RMS has been subtracted is to make the
89Razmick plot
90
91\begin{equation}
92 \frac{(\Delta ST)^2}{<ST>^2} \quad \textit{vs.} \quad \frac{1}{<ST>}
93\end{equation}
94
95This should give a straight line passing through the origin. The slope of
96the line is equal to
97
98\begin{equation}
99 c * F^2
100\end{equation}
101
102where $c$ is the photon/ADC conversion factor $<ST>/<m_{pe}>$.
103
104\subsection{How to retrieve Bias $B$ and Error $R$}
105
106$R$ is in general different from the pedestal RMS. It cannot be
107obtained by applying the signal extractor to pedestal events, especially
108for large signals (e.g. calibration signals).
109\par
110In the case of the optimum filter, $R$ can be obtained from the
111fitted error of the extracted signal ($\Delta(SE)_{fitted}$),
112which one can calculate for every event.
113
114\vspace{1cm}
115\ldots {\it Whether this statemebt is true should be checked by MC.}
116\vspace{1cm}
117
118For large signals, one would expect the bias of the extracted signal
119to be small and negligible (i.e. $<ST> \approx <SE>$).
120\par
121
122In order to get the missing information, we did the following investigations:
123\begin{enumerate}
124\item Determine bias $B$ and resolution $R$ from MC events with and without added noise.
125 Assuming that $R$ and $B$ are negligible for the events without noise, one can
126 get a dependency of both values from the size of the signal.
127\item Determine $R$ from the fitted error of $SE$, which is possible for the
128 fit and the digital filter. In prinicple, all dependencies can be retrieved with this
129 method.
130\item Determine $R$ for low signals by applying the signal extractor to a fixed window
131 of pedestal events. The background fluctuations can be simulated with different
132 levels of night sky background and the continuous light, but no signal size
133 dependency can be retrieved with the method. Its results are only valid for small
134 signals.
135\end{enumerate}
136
137\par
138
139\subsubsection{Determine error $R$ by applying the signal extractor to a fixed window
140of pedestal events}
141
142By applying the signal extractor to pedestal events we want to
143determine these parameters. There are the following possibilities:
144
145\begin{enumerate}
146\item Applying the signal extractor allowing for a possible sliding window
147 to get information about the bias $B$ (valid for low signals).
148\item Applying the signal extractor to a fixed window, to get something like
149 $R$. In the case of the digital filter, this has to be done by randomizing
150 the time slice indices.
151\end{enumerate}
152
153\vspace{1cm}
154\ldots {\it This assumptions still have to proven, best mathematically!!! Wolfgang, Thomas???}
155\vspace{1cm}
156\par
157
158\begin{figure}[htp]
159\centering
160\includegraphics[height=0.29\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38993_Signal_Pixel200.eps}
161\caption{MExtractTimeAndChargeDigitalFilter: Distribution of extracted "pedestals" from pedestal run with
162closed camera lids for one channel.}
163\vspace{\floatsep}
164\includegraphics[height=0.29\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38995_Signal_Pixel200.eps}
165\caption{MExtractTimeAndChargeDigitalFilter: Distribution of extracted "pedestals" from pedestal run with galactic star background for one channel.}
166\vspace{\floatsep}
167\includegraphics[height=0.29\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38996_Signal_Pixel200.eps}
168\caption{MExtractTimeAndChargeDigitalFilter: Distribution of extracted "pedestals" from run with
169continuous light level 100 for one channel.}
170\end{figure}
171
172\begin{figure}[htp]
173\centering
174\includegraphics[height=0.27\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38993_RelMean.eps}
175\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Mean Pedestal per FADC slice from pedestal run with closed camera lids}
176\vspace{\floatsep}
177\includegraphics[height=0.27\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38995_RelMean.eps}
178\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Mean Pedestal per FADC slice from pedestal run with galactic star background}
179\vspace{\floatsep}
180\includegraphics[height=0.27\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38996_RelMean.eps}
181\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Mean Pedestal per FADC slice from run with continuous light level: 100}
182\end{figure}
183
184
185\begin{figure}[htp]
186\centering
187\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38993_RMSRelDiff.eps}
188\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from pedestal run
189with closed camera lids for inner (left) and outer (right) pixels. An equivalent number of 2.5 FADC slices has been
190used for the normalization of the pedestal RMS. The difference amounts to about 10\%.}
191\vspace{\floatsep}
192\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38995_RMSRelDiff.eps}
193\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from pedestal run
194 with galactic star background for inner (left) and outer (right) pixels. An equivalent number of 2.5 FADC slices
195has been used for the normalization of the pedestal RMS. The difference amounts to about 4\%.}
196\vspace{\floatsep}
197\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38996_RMSRelDiff.eps}
198\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from run
199 with continuous light level: 100 for inner (left) and outer (right) pixels. An equivalent number of 2.5 FADC slices
200has been used for the normalization of the pedestal RMS. The difference amounts to about 3--5\%.}
201\end{figure}
202
203
204\begin{figure}[htp]
205\centering
206\includegraphics[height=0.29\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38993_Signal_Pixel200.eps}
207\caption{MExtractTimeAndChargeSpline with amplitude: Distribution of extracted "pedestals" from pedestal run
208with closed camera lids for one channel.}
209\vspace{\floatsep}
210\includegraphics[height=0.29\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38995_Signal_Pixel200.eps}
211\caption{MExtractTimeAndChargeSpline with amplitude: Distribution of extracted "pedestals" from pedestal run
212with galactic star background for one channel.}
213\vspace{\floatsep}
214\includegraphics[height=0.29\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38996_Signal_Pixel200.eps}
215\caption{MExtractTimeAndChargeSpline with amplitude: Distribution of extracted "pedestals" from run with
216continuous light level: 100 for one channel.}
217\end{figure}
218
219\begin{figure}[htp]
220\centering
221\includegraphics[height=0.27\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38993_RelMean.eps}
222\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Mean Pedestal per FADC slice from pedestal run with closed camera lids}
223\vspace{\floatsep}
224\includegraphics[height=0.27\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38995_RelMean.eps}
225\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Mean Pedestal per FADC slice from pedestal run with galactic star background}
226\vspace{\floatsep}
227\includegraphics[height=0.27\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38996_RelMean.eps}
228\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Mean Pedestal per FADC slice from run with continuous light level: 100}
229\end{figure}
230
231
232\begin{figure}[htp]
233\centering
234\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38993_RMSRelDiff.eps}
235\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from pedestal run
236with closed camera lids for inner (left) and outer (right) pixels. An equivalent number of 1 FADC slice has been
237used for the normalization of the pedestal RMS. The difference amounts to about 20\%.}
238\vspace{\floatsep}
239\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38995_RMSRelDiff.eps}
240\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from pedestal run
241 with galactic star background for inner (left) and outer (right) pixels. An equivalent number of 1 FADC slice
242has been used for the normalization of the pedestal RMS. The difference amounts to about 25\%.}
243\vspace{\floatsep}
244\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38996_RMSRelDiff.eps}
245\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from run
246 with continuous light level: 100 for inner (left) and outer (right) pixels. An equivalent number of 1 FADC slice
247has been used for the normalization of the pedestal RMS. The difference amounts to about 25\%.}
248\end{figure}
249
250
251\vspace{1cm}
252\ldots{\it More test plots can be found under:
253http://magic.ifae.es/$\sim$markus/ExtractorPedestals/ }
254\vspace{1cm}
255
256%%% Local Variables:
257%%% mode: latex
258%%% TeX-master: "MAGIC_signal_reco"
259%%% TeX-master: "MAGIC_signal_reco"
260%%% TeX-master: "MAGIC_signal_reco"
261%%% TeX-master: "MAGIC_signal_reco."
262%%% TeX-master: "MAGIC_signal_reco"
263%%% End:
Note: See TracBrowser for help on using the repository browser.