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

Last change on this file since 5543 was 5543, checked in by gaug, 20 years ago
*** empty log message ***
File size: 10.5 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.27\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38993_RelMean.eps}
161\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Mean Pedestal per FADC slice from pedestal run with closed camera lids}
162\vspace{\floatsep}
163\includegraphics[height=0.27\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38995_RelMean.eps}
164\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Mean Pedestal per FADC slice from pedestal run with galactic star background}
165\vspace{\floatsep}
166\includegraphics[height=0.27\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38996_RelMean.eps}
167\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Mean Pedestal per FADC slice from run with continuous light level: 100}
168\end{figure}
169
170\begin{figure}[htp]
171\centering
172\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38993_RMSRelDiff.eps}
173\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from pedestal run
174with closed camera lids for inner (left) and outer (right) pixels. An equivalent number of 2.5 FADC slices has been
175used for the normalization of the pedestal RMS. The difference amounts to about 10\%.}
176\vspace{\floatsep}
177\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38995_RMSRelDiff.eps}
178\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from pedestal run
179 with galactic star background for inner (left) and outer (right) pixels. An equivalent number of 2.5 FADC slices
180has been used for the normalization of the pedestal RMS. The difference amounts to about 4\%.}
181\vspace{\floatsep}
182\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38996_RMSRelDiff.eps}
183\caption{MExtractTimeAndChargeDigitalFilter: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from run
184 with continuous light level: 100 for inner (left) and outer (right) pixels. An equivalent number of 2.5 FADC slices
185has been used for the normalization of the pedestal RMS. The difference amounts to about 3--5\%.}
186\end{figure}
187
188
189\begin{figure}[htp]
190\centering
191\includegraphics[height=0.27\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38993_RelMean.eps}
192\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Mean Pedestal per FADC slice from pedestal run with closed camera lids}
193\vspace{\floatsep}
194\includegraphics[height=0.27\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38995_RelMean.eps}
195\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Mean Pedestal per FADC slice from pedestal run with galactic star background}
196\vspace{\floatsep}
197\includegraphics[height=0.27\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38996_RelMean.eps}
198\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Mean Pedestal per FADC slice from run with continuous light level: 100}
199\end{figure}
200
201\begin{figure}[htp]
202\centering
203\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38993_RMSRelDiff.eps}
204\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from pedestal run
205with closed camera lids for inner (left) and outer (right) pixels. An equivalent number of 1 FADC slice has been
206used for the normalization of the pedestal RMS. The difference amounts to about 20\%.}
207\vspace{\floatsep}
208\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38995_RMSRelDiff.eps}
209\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from pedestal run
210 with galactic star background for inner (left) and outer (right) pixels. An equivalent number of 1 FADC slice
211has been used for the normalization of the pedestal RMS. The difference amounts to about 25\%.}
212\vspace{\floatsep}
213\includegraphics[height=0.23\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38996_RMSRelDiff.eps}
214\caption{MExtractTimeAndChargeSpline with amplitude: Relative Difference Pedestal RMS per FADC slice (calculated out of 2 FADC slices each) from run
215 with continuous light level: 100 for inner (left) and outer (right) pixels. An equivalent number of 1 FADC slice
216has been used for the normalization of the pedestal RMS. The difference amounts to about 25\%.}
217\end{figure}
218
219
220\vspace{1cm}
221\ldots{\it More test plots can be found under:
222http://magic.ifae.es/$\sim$markus/ExtractorPedestals/ }
223\vspace{1cm}
224
225%%% Local Variables:
226%%% mode: latex
227%%% TeX-master: "MAGIC_signal_reco"
228%%% TeX-master: "MAGIC_signal_reco"
229%%% TeX-master: "MAGIC_signal_reco"
230%%% TeX-master: "MAGIC_signal_reco."
231%%% TeX-master: "MAGIC_signal_reco"
232%%% End:
Note: See TracBrowser for help on using the repository browser.