Files
x11ma/script/beamline_alignment/17_axis_camera_scans.py
2025-12-17 09:49:26 +01:00

10 lines
243 B
Python

def after_read(record, scan):
filename = get_exec_pars().path + "/img_" + str(record.index) + ".tiff"
axis.update()
axis.saveSnapshot(filename, "tiff")
lscan(BML_DIAG_POSITION, CADC2, 3.3, 6.2, 0.05, after_read=after_read)