We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9a7815 commit 2474466Copy full SHA for 2474466
libra_toolbox/neutron_detection/activation_foils/compass.py
@@ -991,7 +991,7 @@ def get_multipeak_area(
991
gross_area = np.sum(
992
(
993
hist[peak_start:peak_end]
994
- * np.diff(bins[peak_start:peak_end])
+ * np.diff(bins[peak_start:peak_end+1])
995
))
996
# Cut off trapezoidal area due to compton scattering and noise
997
trap_cutoff_area = np.trapezoid(
0 commit comments