Index: trunk/MagicSoft/TDAS-Extractor/23LedsBlue_Pulse_Inner.eps
===================================================================
--- trunk/MagicSoft/TDAS-Extractor/23LedsBlue_Pulse_Inner.eps	(revision 5783)
+++ trunk/MagicSoft/TDAS-Extractor/23LedsBlue_Pulse_Inner.eps	(revision 5784)
@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0 EPSF-2.0
-%%BoundingBox:  0 0 567 384
-%%Title: 23LedsBlue_Pulse.eps: c1
+%%BoundingBox:  0 0 567 544
+%%Title: MExtractTimeAndChargeDigitalFilter_23 Leds Blue.eps: Signal example
 %%Creator: ROOT Version 3.10/02
-%%CreationDate: Mon Dec 20 12:28:43 2004
+%%CreationDate: Mon Jan 10 11:34:23 2005
 %%EndComments
 %%BeginProlog
@@ -80,42 +80,62 @@
 newpath  gsave  .25 .25 scale 
 %%EndSetup
- gsave  0 0 t black [] 0 sd 3 lw 0.95 0.95 0.95 c 2268 1538 0 0 bf 1 1 1 c 0 0 m 2 2 d 1534 Y 2264 X 2 2 d -2268 X -1538 Y f 0.665 0.665 0.665 c 0 0 m 2 2 d 2264 X 1534 Y 2 2 d -1538 Y -2268 X f black 0.95 0.95 0.95 c 1814 1230 227 154 bf 1 1 1 c 227
- 154 m 1 1 d 1228 Y 1812 X 1 1 d -1814 X -1230 Y f 0.665 0.665 0.665 c 227 154 m 1 1 d 1812 X 1228 Y 1 1 d -1230 Y -1814 X f black 1814 1230 227 154 bl 0.95 0.95 0.95 c 1814 1230 227 154 bf 1 1 1 c 227 154 m 1 1 d 1228 Y 1812 X 1 1 d -1814 X -1230 Y
- f 0.665 0.665 0.665 c 227 154 m 1 1 d 1812 X 1228 Y 1 1 d -1230 Y -1814 X f black 1814 1230 227 154 bl 1 1 1 c black 227 194 m 60 X 34 Y 61 X -19 Y 60 X 1108 Y 61 X 62 Y 302 X -794 Y 60 X 133 Y 61 X 24 Y 60 X -215 Y 61 X 48 Y 60 X 119 Y 61 X -200 Y
- 60 X -195 Y 61 X -33 Y 60 X -34 Y 61 X 72 Y 60 X 357 Y 61 X 95 Y 60 X -157 Y 61 X -119 Y 60 X -91 Y 61 X -19 Y 60 X -95 Y 61 X -14 Y 60 X -38 Y 121 X s 227 154 m 1814 X s
- gsave  916 36
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (FADC Slices Nr.) show  gr  257 191 m -37 Y s 317 172 m -18 Y s 378 172 m -18 Y s 438 172 m -18 Y s 499 172 m -18 Y s 559 191 m -37 Y s 620 172 m -18 Y s 680 172 m -18 Y s 741 172 m -18 Y s 801
- 172 m -18 Y s 862 191 m -37 Y s 922 172 m -18 Y s 983 172 m -18 Y s 1043 172 m -18 Y s 1104 172 m -18 Y s 1164 191 m -37 Y s 1225 172 m -18 Y s 1285 172 m -18 Y s 1346 172 m -18 Y s 1406 172 m -18 Y s 1466 191 m -37 Y s 1527 172 m -18 Y s 1587 172 m
- -18 Y s 1648 172 m -18 Y s 1708 172 m -18 Y s 1769 191 m -37 Y s 257 191 m -37 Y s 1769 191 m -37 Y s 1829 172 m -18 Y s 1890 172 m -18 Y s 1950 172 m -18 Y s 2011 172 m -18 Y s
- gsave  238 98
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (0) show  gr 
- gsave  541 98
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (5) show  gr 
- gsave  828 98
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (10) show  gr 
- gsave  1131 98
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (15) show  gr 
- gsave  1434 98
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (20) show  gr 
- gsave  1733 98
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (25) show  gr  227 154 m 1230 Y s
- gsave  98 586
- t 90 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (FADC counts) show  gr  281 166 m -54 X s 254 213 m -27 X s 254 261 m -27 X s 254 308 m -27 X s 254 356 m -27 X s 281 404 m -54 X s 254 451 m -27 X s 254 499 m -27 X s 254 546 m -27 X s 254 594
- m -27 X s 281 642 m -54 X s 254 689 m -27 X s 254 737 m -27 X s 254 784 m -27 X s 254 832 m -27 X s 281 880 m -54 X s 254 927 m -27 X s 254 975 m -27 X s 254 1022 m -27 X s 254 1070 m -27 X s 281 1118 m -54 X s 254 1165 m -27 X s 254 1213 m -27 X s
- 254 1260 m -27 X s 254 1308 m -27 X s 281 1356 m -54 X s 281 166 m -54 X s 281 1356 m -54 X s
- gsave  182 150
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (0) show  gr 
- gsave  150 388
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (50) show  gr 
- gsave  117 626
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (100) show  gr 
- gsave  117 863
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (150) show  gr 
- gsave  117 1101
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (200) show  gr 
- gsave  117 1342
- t 0 r 0 0 m /Helvetica-Bold findfont 58.6478 sf 0 0 m (250) show  gr  0.95 0.95 0.95 c 2023 133 20 1398 bf black 29 1398 m -7 Y 2020 X 131 Y -6 X -124 Y f 20 1398 m 133 Y 2023 X -133 Y -2023 X cl s 1 1 1 c black
- gsave  450 1427
- t 0 r 0 0 m /Helvetica-Bold findfont 107.521 sf 0 0 m (23 Leds Blue - Pixel 97) show  gr 
+ gsave  0 0 t black [] 0 sd 3 lw 1 1 1 c 2268 2176 0 0 bf black 1 1 1 c 1814 1741 227 218 bf black 1814 1741 227 218 bl 1 1 1 c 1814 1741 227 218 bf black 1814 1741 227 218 bl 227 218 m 1814 X s
+ gsave  780 15
+ t 0 r 0 0 m /Helvetica-Bold findfont 102.732 sf 0 0 m (FADC Slice Nr.) show  gr  257 270 m -52 Y s 317 244 m -26 Y s 378 244 m -26 Y s 438 244 m -26 Y s 499 244 m -26 Y s 559 270 m -52 Y s 620 244 m -26 Y s 680 244 m -26 Y s 741 244 m -26 Y s 801
+ 244 m -26 Y s 862 270 m -52 Y s 922 244 m -26 Y s 983 244 m -26 Y s 1043 244 m -26 Y s 1104 244 m -26 Y s 1164 270 m -52 Y s 1225 244 m -26 Y s 1285 244 m -26 Y s 1346 244 m -26 Y s 1406 244 m -26 Y s 1466 270 m -52 Y s 1527 244 m -26 Y s 1587 244 m
+ -26 Y s 1648 244 m -26 Y s 1708 244 m -26 Y s 1769 270 m -52 Y s 257 270 m -52 Y s 1769 270 m -52 Y s 1829 244 m -26 Y s 1890 244 m -26 Y s 1950 244 m -26 Y s 2011 244 m -26 Y s
+ gsave  232 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (0) show  gr 
+ gsave  536 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (5) show  gr 
+ gsave  814 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (10) show  gr 
+ gsave  1115 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (15) show  gr 
+ gsave  1419 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (20) show  gr 
+ gsave  1720 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (25) show  gr  227 218 m 1741 Y s [4 8] 0 sd 2041 251 m -1814 X s 2041 585 m -1814 X s 2041 918 m -1814 X s 2041 1252 m -1814 X s 2041 1585 m -1814 X s 2041 1919 m -1814 X s 2041 251 m -1814 X s
+ 2041 1919 m -1814 X s [] 0 sd 2041 218 m 1741 Y s 12 lw 0.9 0.9 0.9 c black 3 lw 0.9 0.9 0.9 c 1 lw << /PatternType 1 /PaintType 2 /TilingType 1 /BBox [ 0 0 100 100 ] /XStep 100 /YStep 100 /PaintProc { begin gsave 0 0 m 100 100 l s
+ gr end } >> [ 0.24 0 0 0.24 0 0 ] makepattern /P04 exch def /cs {[/Pattern /DeviceRGB] setcolorspace} def /FA {f [/DeviceRGB] setcolorspace} def cs 0.9 0.9 0.9 P04 setcolor 227 251 m -9 Y 60 X 94 Y 61 X -7 Y 60 X -13 Y 61 X 1494 Y 60 X 80 Y 363 X
+ -901 Y 60 X -127 Y 61 X 408 Y 60 X -268 Y 61 X -393 Y 60 X -254 Y 61 X -13 Y 60 X -40 Y 61 X 27 Y 60 X 40 Y 61 X 474 Y 60 X 133 Y 61 X -140 Y 60 X -174 Y 61 X -73 Y 60 X -100 Y 61 X -67 Y 60 X -120 Y 60 X -6 Y 61 X -45 Y FA black 12 lw 0.9 0.9 0.9 c
+ black 227 242 m 60 X 94 Y 61 X -7 Y 60 X -13 Y 61 X 1494 Y 60 X 80 Y 363 X -901 Y 60 X -127 Y 61 X 408 Y 60 X -268 Y 61 X -393 Y 60 X -254 Y 61 X -13 Y 60 X -40 Y 61 X 27 Y 60 X 40 Y 61 X 474 Y 60 X 133 Y 61 X -140 Y 60 X -174 Y 61 X -73 Y 60 X -100
+ Y 61 X -67 Y 60 X -120 Y 60 X -6 Y 61 X s 3 lw 227 218 m 1814 X s
+ gsave  780 15
+ t 0 r 0 0 m /Helvetica-Bold findfont 102.732 sf 0 0 m (FADC Slice Nr.) show  gr  257 270 m -52 Y s 317 244 m -26 Y s 378 244 m -26 Y s 438 244 m -26 Y s 499 244 m -26 Y s 559 270 m -52 Y s 620 244 m -26 Y s 680 244 m -26 Y s 741 244 m -26 Y s 801
+ 244 m -26 Y s 862 270 m -52 Y s 922 244 m -26 Y s 983 244 m -26 Y s 1043 244 m -26 Y s 1104 244 m -26 Y s 1164 270 m -52 Y s 1225 244 m -26 Y s 1285 244 m -26 Y s 1346 244 m -26 Y s 1406 244 m -26 Y s 1466 270 m -52 Y s 1527 244 m -26 Y s 1587 244 m
+ -26 Y s 1648 244 m -26 Y s 1708 244 m -26 Y s 1769 270 m -52 Y s 257 270 m -52 Y s 1769 270 m -52 Y s 1829 244 m -26 Y s 1890 244 m -26 Y s 1950 244 m -26 Y s 2011 244 m -26 Y s
+ gsave  232 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (0) show  gr 
+ gsave  536 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (5) show  gr 
+ gsave  814 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (10) show  gr 
+ gsave  1115 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (15) show  gr 
+ gsave  1419 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (20) show  gr 
+ gsave  1720 141
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (25) show  gr  227 218 m 1741 Y s
+ gsave  72 769
+ t 90 r 0 0 m /Helvetica-Bold findfont 102.732 sf 0 0 m (FADC counts) show  gr  281 251 m -54 X s 254 318 m -27 X s 254 384 m -27 X s 254 451 m -27 X s 254 518 m -27 X s 281 585 m -54 X s 254 651 m -27 X s 254 718 m -27 X s 254 785 m -27 X s 254 851
+ m -27 X s 281 918 m -54 X s 254 985 m -27 X s 254 1052 m -27 X s 254 1118 m -27 X s 254 1185 m -27 X s 281 1252 m -54 X s 254 1318 m -27 X s 254 1385 m -27 X s 254 1452 m -27 X s 254 1518 m -27 X s 281 1585 m -54 X s 254 1652 m -27 X s 254 1719 m
+ -27 X s 254 1785 m -27 X s 254 1852 m -27 X s 281 1919 m -54 X s 281 251 m -54 X s 281 1919 m -54 X s
+ gsave  171 228
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (0) show  gr 
+ gsave  126 563
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (50) show  gr 
+ gsave  84 898
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (100) show  gr 
+ gsave  84 1229
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (150) show  gr 
+ gsave  84 1564
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (200) show  gr 
+ gsave  84 1899
+ t 0 r 0 0 m /Helvetica-Bold findfont 79.9028 sf 0 0 m (250) show  gr  2041 218 m 1741 Y s 1987 251 m 54 X s 2014 318 m 27 X s 2014 384 m 27 X s 2014 451 m 27 X s 2014 518 m 27 X s 1987 585 m 54 X s 2014 651 m 27 X s 2014 718 m 27 X s 2014 785 m 27 X
+ s 2014 851 m 27 X s 1987 918 m 54 X s 2014 985 m 27 X s 2014 1052 m 27 X s 2014 1118 m 27 X s 2014 1185 m 27 X s 1987 1252 m 54 X s 2014 1318 m 27 X s 2014 1385 m 27 X s 2014 1452 m 27 X s 2014 1518 m 27 X s 1987 1585 m 54 X s 2014 1652 m 27 X s
+ 2014 1719 m 27 X s 2014 1785 m 27 X s 2014 1852 m 27 X s 1987 1919 m 54 X s 1987 251 m 54 X s 1987 1919 m 54 X s 1 1 1 c 2041 185 23 1981 bf black 23 1981 m 2041 X s 2064 1981 m 185 Y s 2064 2166 m -2041 X s 23 2166 m -185 Y s 1 1 1 c black
+ gsave  228 2024
+ t 0 r 0 0 m /Helvetica-Bold findfont 148.391 sf 0 0 m (23 Leds Blue Pixel  100) show  gr 
  gr  gr 
 showpage
Index: trunk/MagicSoft/TDAS-Extractor/Performance.tex
===================================================================
--- trunk/MagicSoft/TDAS-Extractor/Performance.tex	(revision 5783)
+++ trunk/MagicSoft/TDAS-Extractor/Performance.tex	(revision 5784)
@@ -4,5 +4,5 @@
 
 In this section, we describe the tests performed using light pulses of different colour, 
-pulse shapes and intensities with the MAGIC calibration pulser box. 
+pulse shapes and intensities with the MAGIC LED Calibration Pulser Box \cite{hardware-manual}. 
 \par
 The LED pulser system is able to provide fast light pulses of 3--4\,ns FWHM 
@@ -12,18 +12,18 @@
 \begin{table}[htp]
 \centering
-\begin{tabular}{|c|c|c|c|c|c|}
-\hline
-\hline
-\multicolumn{6}{|c|}{The possible pulsed light colours} \\
-\hline
-\hline
-Colour &  Wavelength & Spectral Width & Min. Nr. &  Max. Nr. & Secondary \\
-      & [nm]         & [nm]           &  Phe's   &  Phe's    & Pulses  \\
-\hline
-Green &  520      & 40      & 6          &  120      & yes   \\
-\hline
-Blue &  460       & 30      & 6          &  500      & yes   \\
-\hline
-UV   &  375       & 12      & 3          &  50       & no  \\ 
+\begin{tabular}{|c|c|c|c|c|c|c|}
+\hline
+\hline
+\multicolumn{7}{|c|}{The possible pulsed light colours} \\
+\hline
+\hline
+Colour &  Wavelength & Spectral Width & Min. Nr. &  Max. Nr. & Secondary & FWHM \\
+      & [nm]         & [nm]           &  Phe's   &  Phe's    & Pulses  &  Pulse [ns]\\
+\hline
+Green &  520      & 40      & 6          &  120      & yes  & 3--4  \\
+\hline
+Blue &  460       & 30      & 6          &  500      & yes  & 3--4 \\
+\hline
+UV   &  375       & 12      & 3          &  50       & no   & 2--3 \\ 
 \hline
 \hline
@@ -40,5 +40,5 @@
 One can see that the very stable UV-pulses are unfortunately only available in such intensities as to 
 not saturate the high-gain readout channel. However, the brightest combination of light pulses easily 
-saturates all channels in the camera, but does not reach a saturation of the low-gain channel.
+saturates all channels in the camera, but does not reach a saturation of the low-gain readout.
 \par
 Our tests can be classified into three subsections:
@@ -49,7 +49,7 @@
 of the expected Gaussian distribution.
 \item Number of photo-electrons: These tests measure the reconstructed numbers of photo-electrons, their 
-spread over the camera and the ratio of the obtained mean value for outer and inner pixels.
-\item Linearity tests: These test the linearity of the extractor with respect to pulses of different intensity 
-and colour.
+spread over the camera and the ratio of the obtained mean values for outer and inner pixels, respectively.
+\item Linearity tests: These tests measure the linearity of the extractor with respect to pulses of 
+different intensity and colour.
 \item Time resolution: These tests show the time resolution and stability obtained with different 
 intensities and colours.
@@ -71,8 +71,10 @@
 \includegraphics[height=0.25\textheight]{23LedsBlue_Pulse_Inner.eps}
 \includegraphics[height=0.25\textheight]{23LedsBlue_Pulse_Outer.eps}
-\caption{Example of a calibration pulse from the highest available intensity (23\,Leds Blue). 
+\caption{Example of a calibration pulse from the highest available mono-chromatic intensity (23\,Leds Blue). 
 The left plot shows the signal obtained in an inner pixel, the right one the signal in an outer pixel.
-One the left side, the (saturated) high-gain channel is visible, on the right side, the delayed low-gain 
-pulse appears. Note that on the left side, there is a secondary pulses visible in the tail of the 
+One the left side of both plots, the (saturated) high-gain channel is visible, 
+on the right side from FADC slice 18 on, 
+the delayed low-gain 
+pulse appears. Note that in the left plot, there is a secondary pulses visible in the tail of the 
 high-gain pulse. }
 \label{fig:pulseexample23ledblue}
@@ -81,8 +83,10 @@
 We used data taken on the 7$^{th}$ of June, 2004 with different pulser LED combinations, each taken with 
 16384 events. The corresponding run numbers range from nr. 31741 to 31772. This data was taken before the 
-latest camera repair access which replaced about 2\% of the pixels known to be mal-functionning at that time.
-Thus, there is a lower limit to the number of un-calibrated pixels of about 1.5--2\%.
-\par
-Although, we had looked at and tested all colour and extractor combinations resulting from these data, 
+latest camera repair access which resulted in a replacement of about 2\% of the pixels known to be 
+mal-functionning at that time.
+Thus, there is a lower limit to the number of un-calibrated pixels of about 1.5--2\% known 
+mal-functionning pixels.
+\par
+Although we had looked at and tested all colour and extractor combinations resulting from these data, 
 we refrain ourselves to show here only exemplary behaviour and results of extractors. 
 All plots, including those which are not displayed in this TDAS, can be retrieved from the following 
@@ -103,5 +107,6 @@
 \begin{enumerate}
 \item The reconstructed mean signal is less than 2.5 times the extractor resolution $R$ from zero. 
-(2.5 Pedestal RMS in the case of the simple fixed window extractors). This criterium cuts out 
+(2.5 Pedestal RMS in the case of the simple fixed window extractors, see section~\ref{sec:pedestals}). 
+This criterium essentially cuts out 
 dead pixels.
 \item The reconstructed mean signal error is smaller than its value. This criterium cuts out 
@@ -109,12 +114,19 @@
 criterium cuts out ``ringing'' pixels or mal-functionning extractors. 
 \item The reconstructed mean number of photo-electrons lies 4.5 sigma outside 
-the distribution of photo-electrons obtained with the inner or outer pixels in the camera. 
-\item All reconstructed negative mean signal, signal sigma's and mean numbers of photo-electrons 
-smaller than one.
+the distribution of photo-electrons obtained with the inner or outer pixels in the camera, respectively. 
+This criterium cuts out pixels channels with apparently deviating (hardware) behaviour compared to 
+the rest of the camera readout.
+\item All pixels with reconstructed negative mean signal or with a 
+mean numbers of photo-electrons smaller than one. Pixels with a negative pedestal RMS subtracted 
+sigma occur, especially when stars are focussed onto that pixel during the pedestal taking (resulting 
+in a large pedestal RMS), but have moved to another pixel during the calibration run. In this case, the 
+number of photo-electrons would result artificially negative. If these 
+channels do not show any other deviating behaviour, their number of photo-electrons gets replaced by the 
+mean number of photo-electrons in the camera, and the channel is further calibrated as normal.
 \end{enumerate}
 
 Moreover, the number of events are counted which have been reconstructed outside a 5 sigma region 
 from the mean signal. These events are called ``outliers''. Figure~\ref{fig:outlier} shows a typical 
-outlier obtained with the digital filter.
+outlier obtained with the digital filter applied to a low-gain signal.
 
 \begin{figure}[htp]
@@ -166,5 +178,5 @@
 One can see that in general, big extraction windows raise the 
 number of un-calibrated pixels and are thus less stable. Especially for the very low-intensity 
-$1LedUV$-pulse, the big extraction windows summing 8 or more slices, cannot calibrate more than 50\% 
+$1Led\,UV$-pulse, the big extraction windows summing 8 or more slices, cannot calibrate more than 50\% 
 of the inner pixels (fig.~\ref{fig:unsuited:1leduv}). This is an expected behavior since big windows 
 add up more noise which in turn makes the for the small signal more difficult.
@@ -650,3 +662,4 @@
 %%% TeX-master: "MAGIC_signal_reco"
 %%% TeX-master: "MAGIC_signal_reco"
+%%% TeX-master: "MAGIC_signal_reco"
 %%% End: 
