| 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}
|
|---|
| 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. Figures~\ref{fig:amp:relmean} through~\ref{fig:df:relmean}
|
|---|
| 103 | show that the bias vanishes to an accuracy of better than 1\%
|
|---|
| 104 | for the extractors which are used in this TDAS.
|
|---|
| 105 |
|
|---|
| 106 | \begin{figure}[htp]
|
|---|
| 107 | \centering
|
|---|
| 108 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38993_RelMean.eps}
|
|---|
| 109 | \vspace{\floatsep}
|
|---|
| 110 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38995_RelMean.eps}
|
|---|
| 111 | \vspace{\floatsep}
|
|---|
| 112 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38996_RelMean.eps}
|
|---|
| 113 | \caption{MExtractTimeAndChargeSpline with amplitude extraction:
|
|---|
| 114 | Difference in mean pedestal (per FADC slice) between extraction algorithm
|
|---|
| 115 | applied on a fixed window of 1 FADC slice (``extractor random'') and a simple addition of
|
|---|
| 116 | 2 FADC slices (``fundamental''). On the top, a run with closed camera has been taken, in the center
|
|---|
| 117 | an opened camera observing an extra-galactic star field and on the bottom, an open camera being
|
|---|
| 118 | illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
|
|---|
| 119 | pixel.}
|
|---|
| 120 | \label{fig:amp:relmean}
|
|---|
| 121 | \end{figure}
|
|---|
| 122 |
|
|---|
| 123 |
|
|---|
| 124 | \begin{figure}[htp]
|
|---|
| 125 | \centering
|
|---|
| 126 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38993_RelMean.eps}
|
|---|
| 127 | \vspace{\floatsep}
|
|---|
| 128 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38995_RelMean.eps}
|
|---|
| 129 | \vspace{\floatsep}
|
|---|
| 130 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38996_RelMean.eps}
|
|---|
| 131 | \caption{MExtractTimeAndChargeSpline with integral over 2 slices:
|
|---|
| 132 | Difference in mean pedestal (per FADC slice) between extraction algorithm
|
|---|
| 133 | applied on a fixed window of 2 FADC slices (``extractor random'') and a simple addition of
|
|---|
| 134 | 2 FADC slices (``fundamental''). On the top, a run with closed camera has been taken, in the center
|
|---|
| 135 | an opened camera observing an extra-galactic star field and on the bottom, an open camera being
|
|---|
| 136 | illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
|
|---|
| 137 | pixel.}
|
|---|
| 138 | \label{fig:int:relmean}
|
|---|
| 139 | \end{figure}
|
|---|
| 140 |
|
|---|
| 141 | \begin{figure}[htp]
|
|---|
| 142 | \centering
|
|---|
| 143 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38993_RelMean.eps}
|
|---|
| 144 | \vspace{\floatsep}
|
|---|
| 145 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38995_RelMean.eps}
|
|---|
| 146 | \vspace{\floatsep}
|
|---|
| 147 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38996_RelMean.eps}
|
|---|
| 148 | \caption{MExtractTimeAndChargeDigitalFilter:
|
|---|
| 149 | Difference in mean pedestal (per FADC slice) between extraction algorithm
|
|---|
| 150 | applied on a fixed window of 6 FADC slices and time-randomized weights (``extractor random'')
|
|---|
| 151 | and a simple addition of
|
|---|
| 152 | 6 FADC slices (``fundamental''). On the top, a run with closed camera has been taken, in the center
|
|---|
| 153 | an opened camera observing an extra-galactic star field and on the bottom, an open camera being
|
|---|
| 154 | illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
|
|---|
| 155 | pixel.}
|
|---|
| 156 | \label{fig:df:relmean}
|
|---|
| 157 | \end{figure}
|
|---|
| 158 |
|
|---|
| 159 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|---|
| 160 |
|
|---|
| 161 | In order to calculate bias and Mean-squared error, we proceeded in the following ways:
|
|---|
| 162 | \begin{enumerate}
|
|---|
| 163 | \item Determine $R$ by applying the signal extractor to a fixed window
|
|---|
| 164 | of pedestal events. The background fluctuations can be simulated with different
|
|---|
| 165 | levels of night sky background and the continuous light source, but no signal size
|
|---|
| 166 | dependency can be retrieved with this method.
|
|---|
| 167 | \item Determine $B$ and $MSE$ from MC events with and without added noise.
|
|---|
| 168 | Assuming that $MSE$ and $B$ are negligible for the events without noise, one can
|
|---|
| 169 | get a dependency of both values from the size of the signal.
|
|---|
| 170 | \item Determine $MSE$ from the fitted error of $\widehat{S}$, which is possible for the
|
|---|
| 171 | fit and the digital filter (eq.~\ref{eq:of_noise}).
|
|---|
| 172 | In prinicple, all dependencies can be retrieved with this method.
|
|---|
| 173 | \end{enumerate}
|
|---|
| 174 |
|
|---|
| 175 | \subsubsection{ \label{sec:determiner} 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 | The following plots~\ref{fig:sw:distped} through~\ref{fig:amp:relrms} show results
|
|---|
| 201 | obtained with the second method for three background intensities:
|
|---|
| 202 |
|
|---|
| 203 | \begin{enumerate}
|
|---|
| 204 | \item Closed camera and no (Poissonian) fluctuation due to photons from the night sky background
|
|---|
| 205 | \item The camera pointing to an extra-galactic region with stars in the field of view
|
|---|
| 206 | \item The camera illuminated by a continuous light source of high intensity causing much higher pedestal
|
|---|
| 207 | fluctuations than in usual observation conditions.
|
|---|
| 208 | \end{enumerate}
|
|---|
| 209 |
|
|---|
| 210 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|---|
| 211 |
|
|---|
| 212 | \begin{figure}[htp]
|
|---|
| 213 | \centering
|
|---|
| 214 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-18-Run38993.eps}
|
|---|
| 215 | \vspace{\floatsep}
|
|---|
| 216 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-18-Run38995.eps}
|
|---|
| 217 | \caption{MExtractTimeAndChargeSlidingWindow with extraction window of 4 FADC slices:
|
|---|
| 218 | Distribution of extracted "pedestals" from pedestal run with
|
|---|
| 219 | closed camera (top) and open camera observing an extra-galactic star field (bottom) for one channel
|
|---|
| 220 | (pixel 100). The result obtained from a simple addition of 4 FADC
|
|---|
| 221 | slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application of
|
|---|
| 222 | the algorithm on
|
|---|
| 223 | a fixed window of 4 FADC slices as blue histogram (``extractor random'') and the one obtained from the
|
|---|
| 224 | full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
|
|---|
| 225 | RMSs have been converted to equiv. photo-electrons.}
|
|---|
| 226 | \label{fig:sw:distped}
|
|---|
| 227 | \end{figure}
|
|---|
| 228 |
|
|---|
| 229 |
|
|---|
| 230 | \begin{figure}[htp]
|
|---|
| 231 | \centering
|
|---|
| 232 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-23-Run38993.eps}
|
|---|
| 233 | \vspace{\floatsep}
|
|---|
| 234 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-23-Run38995.eps}
|
|---|
| 235 | \caption{MExtractTimeAndChargeSpline with amplitude extraction:
|
|---|
| 236 | Spectrum of extracted "pedestals" from pedestal run with
|
|---|
| 237 | closed camera lids (top) and open lids observing an extra-galactic star field (bottom) for one channel
|
|---|
| 238 | (pixel 100). The result obtained from a simple addition of 2 FADC
|
|---|
| 239 | slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application
|
|---|
| 240 | of the algorithm on a fixed window of 1 FADC slice as blue histogram (``extractor random'')
|
|---|
| 241 | and the one obtained from the
|
|---|
| 242 | full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
|
|---|
| 243 | RMSs have been converted to equiv. photo-electrons.}
|
|---|
| 244 | \label{fig:amp:distped}
|
|---|
| 245 | \end{figure}
|
|---|
| 246 |
|
|---|
| 247 | \begin{figure}[htp]
|
|---|
| 248 | \centering
|
|---|
| 249 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-25-Run38993.eps}
|
|---|
| 250 | \vspace{\floatsep}
|
|---|
| 251 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-25-Run38995.eps}
|
|---|
| 252 | \caption{MExtractTimeAndChargeSpline with integral extraction over 2 FADC slices:
|
|---|
| 253 | Distribution of extracted "pedestals" from pedestal run with
|
|---|
| 254 | closed camera lids (top) and open lids observing an extra-galactic star field (bottom) for one channel
|
|---|
| 255 | (pixel 100). The result obtained from a simple addition of 2 FADC
|
|---|
| 256 | slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application
|
|---|
| 257 | of time-randomized weigths on a fixed window of 2 FADC slices as blue histogram and the one obtained from the
|
|---|
| 258 | full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
|
|---|
| 259 | RMSs have been converted to equiv. photo-electrons.}
|
|---|
| 260 | \label{fig:int:distped}
|
|---|
| 261 | \end{figure}
|
|---|
| 262 |
|
|---|
| 263 | \begin{figure}[htp]
|
|---|
| 264 | \centering
|
|---|
| 265 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-28-Run38993.eps}
|
|---|
| 266 | \vspace{\floatsep}
|
|---|
| 267 | \includegraphics[height=0.43\textheight]{PedestalSpectrum-28-Run38995.eps}
|
|---|
| 268 | \caption{MExtractTimeAndChargeDigitalFilter: Spectrum of extracted "pedestals" from pedestal run with
|
|---|
| 269 | closed camera lids (top) and open lids observing an extra-galactic star field (bottom) for one channel
|
|---|
| 270 | (pixel 100). The result obtained from a simple addition of 6 FADC
|
|---|
| 271 | slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application
|
|---|
| 272 | of time-randomized weigths on a fixed window of 6 slices as blue histogram and the one obtained from the
|
|---|
| 273 | full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
|
|---|
| 274 | RMSs have been converted to equiv. photo-electrons.}
|
|---|
| 275 | \label{fig:df:distped}
|
|---|
| 276 | \end{figure}
|
|---|
| 277 |
|
|---|
| 278 |
|
|---|
| 279 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|---|
| 280 |
|
|---|
| 281 |
|
|---|
| 282 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%1
|
|---|
| 283 |
|
|---|
| 284 | \begin{figure}[htp]
|
|---|
| 285 | \centering
|
|---|
| 286 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38993_RMSDiff.eps}
|
|---|
| 287 | \vspace{\floatsep}
|
|---|
| 288 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38995_RMSDiff.eps}
|
|---|
| 289 | \vspace{\floatsep}
|
|---|
| 290 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38996_RMSDiff.eps}
|
|---|
| 291 | \caption{MExtractTimeAndChargeSpline with amplitude:
|
|---|
| 292 | Difference in pedestal RMS (per FADC slice) between extraction algorithm
|
|---|
| 293 | applied on a fixed window of 1 FADC slice (``extractor random'') and a simple addition of
|
|---|
| 294 | 2 FADC slices (``fundamental''). On the top, a run with closed camera has been taken, in the center
|
|---|
| 295 | an opened camera observing an extra-galactic star field and on the bottom, an open camera being
|
|---|
| 296 | illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
|
|---|
| 297 | pixel.}
|
|---|
| 298 | \label{fig:amp:relrms}
|
|---|
| 299 | \end{figure}
|
|---|
| 300 |
|
|---|
| 301 |
|
|---|
| 302 | \begin{figure}[htp]
|
|---|
| 303 | \centering
|
|---|
| 304 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38993_RMSDiff.eps}
|
|---|
| 305 | \vspace{\floatsep}
|
|---|
| 306 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38995_RMSDiff.eps}
|
|---|
| 307 | \vspace{\floatsep}
|
|---|
| 308 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38996_RMSDiff.eps}
|
|---|
| 309 | \caption{MExtractTimeAndChargeSpline with integral over 2 slices:
|
|---|
| 310 | Difference in pedestal RMS (per FADC slice) between extraction algorithm
|
|---|
| 311 | applied on a fixed window of 2 FADC slices (``extractor random'') and a simple addition of
|
|---|
| 312 | 2 FADC slices (``fundamental''). On the top, a run with closed camera has been taken, in the center
|
|---|
| 313 | an opened camera observing an extra-galactic star field and on the bottom, an open camera being
|
|---|
| 314 | illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
|
|---|
| 315 | pixel.}
|
|---|
| 316 | \label{fig:amp:relrms}
|
|---|
| 317 | \end{figure}
|
|---|
| 318 |
|
|---|
| 319 |
|
|---|
| 320 | \begin{figure}[htp]
|
|---|
| 321 | \centering
|
|---|
| 322 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38993_RMSDiff.eps}
|
|---|
| 323 | \vspace{\floatsep}
|
|---|
| 324 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38995_RMSDiff.eps}
|
|---|
| 325 | \vspace{\floatsep}
|
|---|
| 326 | \includegraphics[height=0.3\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38996_RMSDiff.eps}
|
|---|
| 327 | \caption{MExtractTimeAndChargeDigitalFilter:
|
|---|
| 328 | Difference in pedestal RMS (per FADC slice) between extraction algorithm
|
|---|
| 329 | applied on a fixed window of 6 FADC slices and time-randomized weights (``extractor random'')
|
|---|
| 330 | and a simple addition of 6 FADC slices (``fundamental''). On the top, a run with closed camera
|
|---|
| 331 | has been taken, in the center
|
|---|
| 332 | an opened camera observing an extra-galactic star field and on the bottom, an open camera being
|
|---|
| 333 | illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
|
|---|
| 334 | pixel.}
|
|---|
| 335 | \label{fig:df:relrms}
|
|---|
| 336 | \end{figure}
|
|---|
| 337 |
|
|---|
| 338 |
|
|---|
| 339 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|---|
| 340 |
|
|---|
| 341 | Figures~\ref{fig:df:distped},~\ref{fig:amp:distped}
|
|---|
| 342 | and~\ref{fig:amp:distped} show the
|
|---|
| 343 | extracted pedestal distributions for the digital filter with cosmics weights (extractor~\#28) and the
|
|---|
| 344 | spline amplitude (extractor~\#27), respectively for one examplary channel (corresponding to pixel 200).
|
|---|
| 345 | One can see the (asymmetric) Poisson behaviour of the
|
|---|
| 346 | night sky background photons for the distributions with open camera and the cutoff at the lower egde
|
|---|
| 347 | for the distribution with high-intensity continuous light due to a limited pedestal offset and the cutoff
|
|---|
| 348 | to negative fluctuations.
|
|---|
| 349 | \par
|
|---|
| 350 | Figures~\ref{fig:df:relmean}
|
|---|
| 351 | and~\ref{fig:amp:relmean} show the
|
|---|
| 352 | relative difference between the calculated pedestal mean and
|
|---|
| 353 | the one obtained by applying the extractor for
|
|---|
| 354 | all channels of the MAGIC camera. One can see that in all cases, the distribution is centered around zero,
|
|---|
| 355 | while its width is never larger than 0.01 which corresponds about to the precision of the extracted mean for
|
|---|
| 356 | the number of used events. (A very similar distribution is obtained by comparing the results
|
|---|
| 357 | of the same pedestal calculator applied to different ranges of FADC slices.)
|
|---|
| 358 | \par
|
|---|
| 359 | Figures~\ref{fig:df:relrms}
|
|---|
| 360 | and~\ref{fig:amp:relrms} show the
|
|---|
| 361 | relative difference between the calculated pedestal RMS, normalized to an equivalent number of slices
|
|---|
| 362 | (2.5 for the digital filter and 1. for the amplitude of the spline) and
|
|---|
| 363 | the one obtained by applying the extractor for all channels of the MAGIC camera.
|
|---|
| 364 | One can see that in all cases, the distribution is not centered around zero, but shows an offset depending
|
|---|
| 365 | on the light intensity. The difference can be 10\% in the case of the digital filter and even 25\% for the
|
|---|
| 366 | spline. This big difference for the spline is partly explained by the fact that the pedestals have to be
|
|---|
| 367 | calculated from an even number of slices to account for the clock-noise. However, the (normalized) pedestal
|
|---|
| 368 | RMS depends critically on the number of summed FADC slices, especially at very low numbers. In general,
|
|---|
| 369 | the higher the number of summed FADC slices, the higher the (to the square root of the number of slices)
|
|---|
| 370 | normalized pedestal RMS.
|
|---|
| 371 |
|
|---|
| 372 |
|
|---|
| 373 | \subsubsection{ \label{sec:determiner} Application of the Signal Extractor to a Sliding Window
|
|---|
| 374 | of Pedestal Events}
|
|---|
| 375 |
|
|---|
| 376 | In this section, we apply the signal extractor to a sliding window of pedestal events.
|
|---|
| 377 | \par
|
|---|
| 378 | In MARS, this possibility can be used with a call to
|
|---|
| 379 | {\textit{\bf MJPedestal::SetExtractionWithExtractor()}}.
|
|---|
| 380 | \par
|
|---|
| 381 | Because the background is determined by the single photo-electrons from the night-sky background,
|
|---|
| 382 | the following possibilities can occur:
|
|---|
| 383 |
|
|---|
| 384 | \begin{enumerate}
|
|---|
| 385 | \item There is no ``signal'' (photo-electron) in the extraction window and the extractor
|
|---|
| 386 | finds only electronic noise.
|
|---|
| 387 | Usually, the returned signal charge is then negative.
|
|---|
| 388 | \item The extractor finds the signal from one photo-electron
|
|---|
| 389 | \item The extractor finds an overlap of two or more photo-electrons.
|
|---|
| 390 | \end{enumerate}
|
|---|
| 391 |
|
|---|
| 392 | Although the probability to find a certain number of photo-electrons in a fixed window follows a
|
|---|
| 393 | Poisson distribution, the one for employing the sliding window is {\textit{not}} Poissonian. The extractor
|
|---|
| 394 | will usually find one photo-electron even if more are present in the global search window, i.e. the
|
|---|
| 395 | probability for two or more photo-electrons to occur in the global search window is much higher than
|
|---|
| 396 | the probability for these photo-electrons to overlap in time such as to be recognized as a double
|
|---|
| 397 | or triple photo-electron pulse by the extractor. This is especially true for small extraction windows
|
|---|
| 398 | and for the digital filter.
|
|---|
| 399 |
|
|---|
| 400 | \par
|
|---|
| 401 |
|
|---|
| 402 | Given a global extraction window of size $WS$ and an average rate of photo-electrons from the night-sky
|
|---|
| 403 | background $R$, we will now calculate the probability for the extractor to find zero photo-electrons in the
|
|---|
| 404 | $WS$. The probability to find $k$ photo-electrons can be written as:
|
|---|
| 405 |
|
|---|
| 406 | \begin{equation}
|
|---|
| 407 | P(k) = \frac{e^{-R\cdot WS} (R \cdot WS)^k}{k!}
|
|---|
| 408 | \end{equation}
|
|---|
| 409 |
|
|---|
| 410 | and thus:
|
|---|
| 411 |
|
|---|
| 412 | \begin{equation}
|
|---|
| 413 | P(0) = e^{-R\cdot WS}
|
|---|
| 414 | \end{equation}
|
|---|
| 415 |
|
|---|
| 416 | The probability to find more than one photo-electron is then:
|
|---|
| 417 |
|
|---|
| 418 | \begin{equation}
|
|---|
| 419 | P(>0) = 1 - e^{-R\cdot WS}
|
|---|
| 420 | \end{equation}
|
|---|
| 421 |
|
|---|
| 422 | Figures~\ref{fig:sphe:sphespectrum} show spectra
|
|---|
| 423 | obtained with the digital filter applied on two different global search windows.
|
|---|
| 424 | One can clearly distinguish a pedestal peak (fitted to Gaussian with index 0),
|
|---|
| 425 | corresponding to the case of $P(0)$ and further
|
|---|
| 426 | contributions of $P(1)$ and $P(2)$ (fitted to Gaussians with index 1 and 2).
|
|---|
| 427 | One can also see that the contribution of $P(0)$ dimishes
|
|---|
| 428 | with increasing global search window size.
|
|---|
| 429 |
|
|---|
| 430 | \begin{figure}
|
|---|
| 431 | \centering
|
|---|
| 432 | \includegraphics[height=0.3\textheight]{SinglePheSpectrum-28-Run38995-WS2.5.eps}
|
|---|
| 433 | \vspace{\floatsep}
|
|---|
| 434 | \includegraphics[height=0.3\textheight]{SinglePheSpectrum-28-Run38995-WS4.5.eps}
|
|---|
| 435 | \vspace{\floatsep}
|
|---|
| 436 | \includegraphics[height=0.3\textheight]{SinglePheSpectrum-28-Run38995-WS8.5.eps}
|
|---|
| 437 | \caption{MExtractTimeAndChargeDigitalFilter: Spectrum obtained from the extraction
|
|---|
| 438 | of a pedestal run using a sliding window of 6 FADC slices allowed to move within a window of
|
|---|
| 439 | 7 (top), 9 (center) and 13 slices.
|
|---|
| 440 | A pedestal run with galactic star background has been taken and one exemplary pixel (Nr. 100).
|
|---|
| 441 | One can clearly see the pedestal contribution and a further part corresponding to one or more
|
|---|
| 442 | photo-electrons.}
|
|---|
| 443 | \label{fig:df:sphespectrum}
|
|---|
| 444 | \end{figure}
|
|---|
| 445 |
|
|---|
| 446 | In the following, we will make a short consistency test: Assuming that the spectral peaks are
|
|---|
| 447 | attributed correctly, one would expect the following relation:
|
|---|
| 448 |
|
|---|
| 449 | \begin{equation}
|
|---|
| 450 | P(0) / P(>0) = \frac{e^{-R\cdot WS}}{1-e^{-R\cdot WS}}
|
|---|
| 451 | \end{equation}
|
|---|
| 452 |
|
|---|
| 453 | We tested this relation assuming that the fitted area underneath the pedestal peak $Area_0$ is
|
|---|
| 454 | proportional to $P(0)$ and the sum of the fitted areas underneath the single photo-electron peak
|
|---|
| 455 | $Area_1$ and the double photo-electron peak $Area_2$ proportional to $P(>0)$. Thus, one expects:
|
|---|
| 456 |
|
|---|
| 457 | \begin{equation}
|
|---|
| 458 | Area_0 / (Area_1 + Area+2 ) = \frac{e^{-R\cdot WS}}{1-e^{-R\cdot WS}}
|
|---|
| 459 | \end{equation}
|
|---|
| 460 |
|
|---|
| 461 | We estimated the effective window size $WS$ as the sum of the range in which the digital filter
|
|---|
| 462 | amplitude weights are greater than 0.5 (1.6 FADC slices) and the global search window minus the
|
|---|
| 463 | size of the window size of the weights (which is 6 FADC slices). Figures~\ref{fig::df:ratiofit}
|
|---|
| 464 | show the result for two different levels of night-sky background.
|
|---|
| 465 |
|
|---|
| 466 | \par
|
|---|
| 467 |
|
|---|
| 468 | \begin{figure}[htp]
|
|---|
| 469 | \centering
|
|---|
| 470 | \includegraphics[height=0.4\textheight]{SinglePheRatio-28-Run38995.eps}
|
|---|
| 471 | \vspace{\floatsep}
|
|---|
| 472 | \includegraphics[height=0.4\textheight]{SinglePheRatio-28-Run39258.eps}
|
|---|
| 473 | \caption{MExtractTimeAndChargeDigitalFilter: Fit to the ratio of the area beneath the pedestal peak and
|
|---|
| 474 | the single and double photo-electron(s) peak(s) with the extraction algorithm
|
|---|
| 475 | applied on a sliding window of different sizes.
|
|---|
| 476 | In the top plot, a pedestal run with extra-galactic star background has been taken and in the bottom,
|
|---|
| 477 | a galatic star background. An exemplary pixel (Nr. 100) has been used.
|
|---|
| 478 | Above, a rate of 0.8 phe/ns and below, a rate of 1.0 phe/ns has been obtained.}
|
|---|
| 479 | \label{fig:df:ratiofit}
|
|---|
| 480 | \end{figure}
|
|---|
| 481 |
|
|---|
| 482 |
|
|---|
| 483 |
|
|---|
| 484 | %%% Local Variables:
|
|---|
| 485 | %%% mode: latex
|
|---|
| 486 | %%% TeX-master: "MAGIC_signal_reco"
|
|---|
| 487 | %%% TeX-master: "MAGIC_signal_reco"
|
|---|
| 488 | %%% End:
|
|---|