Skip to content

Commit

Permalink
Saved README.md with Dillinger.io
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasoldani committed Mar 16, 2024
1 parent 3fbc895 commit 67e3790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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.

0 comments on commit 67e3790

Please sign in to comment.