From ca3446eca02e3e8aaaf785de4e72cd105ff56e5f Mon Sep 17 00:00:00 2001 From: x12sa Date: Tue, 3 Nov 2026 12:43:31 +0100 Subject: [PATCH] config(sastt): aerox trigger calibration from calibrated scans at 8-30 mm/s The trigger shift moves backward - forward by ~1.15 x 2 * offset, so the entries measured with the calibration applied (4921, 4918, 4919, 4920) are used for 8 / 10 / 20 / 30 mm/s. 20 and 30 mm/s are good to about +-5 um only: uncorrected backward - forward at 20 mm/s varied from +18 to +28 um. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017NrH3poJsYBCTVq2Y9fuHZ --- csaxs_bec/device_configs/sastt_aerotech.yaml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/csaxs_bec/device_configs/sastt_aerotech.yaml b/csaxs_bec/device_configs/sastt_aerotech.yaml index 28da6af8..c30b7340 100644 --- a/csaxs_bec/device_configs/sastt_aerotech.yaml +++ b/csaxs_bec/device_configs/sastt_aerotech.yaml @@ -40,18 +40,21 @@ aerox: sign: 1 userParameter: # aerotech_cont_grid trigger calibration: offset [um] = half of the backward - forward - # exposure centre offset per scan velocity [mm/s], measured with trigger_calibration=False - # (DDG1 trigger, 0.15 s settle_time, 500 mm/s^2; exp_time 5 / 20 ms gave the same within - # the scatter). Linear in between, proportional below 1 mm/s, none above 40 mm/s. - # The statistics of each scan print the entry it measured. + # exposure centre offset per scan velocity [mm/s] (DDG1 trigger, 0.15 s settle_time, + # 500 mm/s^2; exp_time 5 / 20 ms gave the same within the scatter). Linear in between, + # proportional below 1 mm/s, none above 40 mm/s. The statistics of each scan print the + # entry it measured; take it from a scan with the calibration applied: the trigger shift + # moves backward - forward by ~1.15 x 2 * offset, the measured entry includes that. + # 20 and 30 mm/s: uncorrected backward - forward not reproducible (20 mm/s: +28.5 / +23.0 + # / +18.3 um in 4899 / 4907 / 4923), good to about +-5 um. trigger_calibration: - {velocity: 1.0, offset: 0.43, scans: [4901, 4906]} - {velocity: 2.0, offset: 1.03, scans: [4902, 4908]} - {velocity: 4.0, offset: 4.64, scans: [4903]} - - {velocity: 8.0, offset: 7.87, scans: [4897]} - - {velocity: 10.0, offset: 9.29, scans: [4898]} - - {velocity: 20.0, offset: 12.85, scans: [4899, 4907]} - - {velocity: 30.0, offset: 1.50, scans: [4916]} + - {velocity: 8.0, offset: 6.52, scans: [4897, 4921]} + - {velocity: 10.0, offset: 7.87, scans: [4898, 4918, 4922]} + - {velocity: 20.0, offset: 9.06, scans: [4899, 4907, 4919, 4923]} + - {velocity: 30.0, offset: -2.91, scans: [4916, 4920]} - {velocity: 40.0, offset: -4.39, scans: [4900, 4917]} enabled: true onFailure: buffer