2 Commits
0.6.1 ... 0.6.2

Author SHA1 Message Date
b2129805dc Updating for version 0.6.2 2021-11-22 16:00:44 +01:00
92765b5665 Fix error calculation when merging data
Fix #46
2021-11-22 14:23:50 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -5,4 +5,4 @@ from pyzebra.h5 import *
from pyzebra.utils import *
from pyzebra.xtal import *
__version__ = "0.6.1"
__version__ = "0.6.2"

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