Download memoria

Transcript
Previous numerical data treatment with MatLab
33
Then to characterize basically the signal, there exists to different behaviours: (i) when
there is not emission, the signal remain around zero with a minimum value of 0 V and
a maximum value of 50 mV very well determinate (see Figure 3.4); (ii) when there is
a peak to detect the values are over this 50 mV.
As the objective is to determine the peaks due to emission process, the region (i)
allows determining properly the minimum value accepted to consider a peak as a
maximum; Using a ‘for’ loop and applying the condition expressed in equation 3.1:
(3.1)
The only step to perform later on is to remove over the position and amplitude
vectors and the positions with zero value that do not accomplish the condition. Then
all the peaks will be detected without removing the overlapped ones (see Figure 3.5).
Amplifier's output data; all peaks detected
5
4.5
4
3.5
Amplitude (V)
3
2.5
2
1.5
1
0.5
0
-0.5
1800
1900
2000
2100
2200
# of points
2300
2400
Figure 3.5 Amplifier’s output data with all the peaks detected
3.2.3. Peaks detection over the energy window output data
In Figure 3.6 it is possible to observe that the function of energy windows is to
discriminate the peaks, distinguishing the peaks received from the amplifier unipolar
output that are inside of the energy window value from the peaks that are not.
When the discriminator receives a peak with its energy inside the values permitted by
the energy window, then appears a kind of Dirac’s delta synchronized with the
position of the desired peak on the amplifier’s output data file; if it is not, then the
output signal remains constant in a value near to zero.