From 67e3790d66db373b091ca8c3ea57e602717a0199 Mon Sep 17 00:00:00 2001 From: Mattia Soldani Date: Sat, 16 Mar 2024 16:04:30 +0100 Subject: [PATCH] Saved README.md with Dillinger.io --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f16477..c62c247 100644 --- a/README.md +++ b/README.md @@ -410,4 +410,4 @@ deals with the waveform analysis by applying instances of `cWaveForm` to each ev The class methods include `plot_wfs_curves([...])` to plot the waveforms and `plot_distributions_summary([...])` to plot the results of their analysis -- pulse height, peaking time and charge distributions. Check the source code for details on the method arguments. -Another method which is worth discussing in some detail is `compute_pede([...])`, to compute pedestal values of the pulse height and charge distributions. This method is used inside `analyse_main_distributions([...])`. If the internal pedestal calculation is chosen (`b_pede_internal = True` among the arguments of the distribution plotting methods), the pedestal is computed as the average pulse height/charge in the chosen off-signal time window (`range_time_bkg` arguments of the distribution plotting methods); otherwise, it is manually set in `analyse_main_distributions([...])` (with the `pede_ph` and `pede_charge` members). Then, the abscissas of the raw pulse height and charge distributions of the signal ("_sig0") events (selected with the `range_time_sig` time window) are shifted accordingly. Moreover, if requested (`b_pede_subtract = True` among the arguments of the distribution plotting methods), the background spectrum population is subtracted from the final signal spectrum population; resulting negative bins are set to zero. \ No newline at end of file +Another method which is worth discussing in some detail is `compute_pede([...])`, to compute pedestal values of the pulse height and charge distributions. This method is used inside `analyse_main_distributions([...])`. If the internal pedestal calculation is chosen (`b_pede_internal = True` among the arguments of the distribution plotting methods), the pedestal is computed as the average pulse height/charge in the chosen off-signal time window (`range_time_bkg` arguments of the distribution plotting methods); otherwise, it is manually set in `analyse_main_distributions([...])` (with the `pede_ph` and `pede_charge` members). Then, the abscissas of the raw pulse height and charge distributions of the signal ("_sig0") events (selected with the `range_time_sig` time window) are shifted accordingly. Moreover, if requested (`b_pede_subtract = True` among the arguments of the distribution plotting methods), the background spectrum population is subtracted from the final signal spectrum population after properly rescaling with the ratio between the time window widths; resulting negative bins are set to zero. \ No newline at end of file