File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libra_toolbox/neutron_detection/activation_foils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -264,15 +264,15 @@ def compute_detection_efficiency(
264264
265265 calibrated_bin_bedges = np .polyval (calibration_coeffs , bin_edges )
266266
267- areas = get_multipeak_area (
267+ nb_counts_measured = get_multipeak_area (
268268 hist ,
269269 calibrated_bin_bedges ,
270270 self .check_source .nuclide .energy ,
271271 search_width = search_width ,
272272 )
273273
274- nb_counts_measured = np .array (areas )
275- nb_counts_measured_err = np .sqrt (np . array ( areas ) )
274+ nb_counts_measured = np .array (nb_counts_measured )
275+ nb_counts_measured_err = np .sqrt (nb_counts_measured )
276276
277277 act_expec = self .check_source .get_expected_activity (self .start_time )
278278 gamma_rays_expected = act_expec * (
You can’t perform that action at this time.
0 commit comments