Fix error calculation when merging data

Fix #46
This commit is contained in:
usov_i 2021-11-22 14:23:50 +01:00
parent 328b71e058
commit 92765b5665

View File

@ -131,7 +131,7 @@ def merge_scans(scan_into, scan_from):
scan_into[scan_motor] = pos_tmp
scan_into["counts"] = val_tmp / num_tmp
scan_into["counts_err"] = np.sqrt(err_tmp)
scan_into["counts_err"] = np.sqrt(err_tmp) / num_tmp
scan_from["export"] = False