fix of find_offset()
This commit is contained in:
@@ -151,7 +151,7 @@ def find_offset(run_number, ch1,ch2, offsets=range(-7,7),step=0,verbose = False)
|
||||
assert len(d[ch2].shape) ==1, "Channel 2 has more than 1 dimension, can't correlate"
|
||||
corrs = []
|
||||
for offset in offsets:
|
||||
scan = cu.scan_info(run_number)
|
||||
scan = scan_info(run_number)
|
||||
d = scan[step]
|
||||
d[ch2].offset = offset
|
||||
subset = d[ch1,ch2]
|
||||
|
||||
Reference in New Issue
Block a user