Update scripts and plugins to 2.0

This commit is contained in:
2025-08-04 12:38:24 +02:00
parent b45d3b4202
commit b631d4c589
44 changed files with 347 additions and 350 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ def grab_image(position, scan):
av = average_frames(frames)
if True:
filename = get_exec_pars().path + "/" + ("%03d.tif" % scan.recordIndex)
filename = get_context().setup.expandPath(filename)
filename = Setup.expandPath(filename)
print filename
save_as_tiff(av, filename, parallel=True)