You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rot_time=np.abs(relative_rot_angle) /np.abs(rs) +1# it seems acceleration/de-acceleration take more time
706
-
num_img=int(rot_time/true_period)
706
+
num_img=int(rot_time/true_period)
707
707
708
708
yieldfrom_open_shutter(simu=simu)
709
709
print("\nshutter opened, taking tomo images...")
@@ -957,7 +957,7 @@ def xanes_inner_scan():
957
957
repeat=2,
958
958
trans_first_flag=rot_first_flag,
959
959
)
960
-
'''
960
+
'''
961
961
if len(filters):
962
962
for filt in filters:
963
963
yield from mv(filt, 0)
@@ -1497,7 +1497,7 @@ def stop(self, doc):
1497
1497
eng_start=plan_args["start"]
1498
1498
eng_end=plan_args["stop"]
1499
1499
steps=plan_args["num"]
1500
-
try:
1500
+
try:
1501
1501
x=plan_args['eng_list']
1502
1502
except:
1503
1503
x=np.linspace(eng_start, eng_end, steps)
@@ -1516,7 +1516,7 @@ def stop(self, doc):
1516
1516
y0=np.array(list(h.data(ic3.name)))
1517
1517
y1=np.array(list(h.data(ic4.name)))
1518
1518
r=np.log(y0/y1)
1519
-
1519
+
1520
1520
self._ax1.plot(x, y0, ".-", label=f'{ic3.name}')
1521
1521
self._ax1.plot(x, y1, ".-", label=f'{ic4.name}')
1522
1522
self._ax1.legend()
@@ -1916,13 +1916,13 @@ def raster_2D_scan(
1916
1916
"""
1917
1917
!!! Note:
1918
1918
1919
-
Filters will be inserted at all time, including: img, img_bkg, and img_dark
1920
-
1919
+
Filters will be inserted at all time, including: img, img_bkg, and img_dark
1920
+
1921
1921
1922
1922
scanning large area by moving samples at different 2D block position, defined by x_range and y_range, only work for KinetixU camera at full resolution (2048 x 2048)
1923
1923
for example, set x_range=[-1,1] and y_range=[-2, 2] will totally take 3 x 5 = 15 images and stitch them together
Filters will be inserted at all time, including: img, img_bkg, and img_dark
2136
-
2135
+
Filters will be inserted at all time, including: img, img_bkg, and img_dark
2136
+
2137
2137
2138
2138
scanning large area by moving samples at different 2D block position, defined by x_range and y_range, only work for KinetixU camera at full resolution (2048 x 2048)
2139
2139
for example, set x_range=[-1,1] and y_range=[-2, 2] will totally take 3 x 5 = 15 images and stitch them together
Filters will ONLY be inserted when taking background image
2351
+
Filters will ONLY be inserted when taking background image
2352
2352
2353
2353
2354
2354
scanning large area by moving samples at different 2D block position, defined by x_range and y_range, only work for KinetixU camera at full resolution (2048 x 2048)
0 commit comments