From b189e2e4c7b67cb62260f57326deb537f46b733f Mon Sep 17 00:00:00 2001 From: x12sa Date: Tue, 3 Nov 2026 12:55:44 +0100 Subject: [PATCH] config(sastt): aerox trigger calibration for settle_time 0.3 and 0.15 s 0.3 s (new default) from uncorrected scans at 2-40 mm/s, to be refined with calibrated scans; 0.15 s entries kept, 8 / 10 mm/s as the zero crossing of two calibrated scans each. No scan numbers in the table. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017NrH3poJsYBCTVq2Y9fuHZ --- csaxs_bec/device_configs/sastt_aerotech.yaml | 40 ++++++++++++-------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/csaxs_bec/device_configs/sastt_aerotech.yaml b/csaxs_bec/device_configs/sastt_aerotech.yaml index c30b7340..ab579ee0 100644 --- a/csaxs_bec/device_configs/sastt_aerotech.yaml +++ b/csaxs_bec/device_configs/sastt_aerotech.yaml @@ -40,22 +40,32 @@ aerox: sign: 1 userParameter: # aerotech_cont_grid trigger calibration: offset [um] = half of the backward - forward - # 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. + # exposure centre offset, per scan velocity [mm/s] and settle_time [s] (DDG1 trigger, + # 500 mm/s^2; exp_time 5 / 20 ms gave the same within the scatter, 2026-11-03). A scan uses + # the entries of its settle_time (and minimal_run_up: true entries only with + # minimal_run_up): linear in between, proportional below the lowest velocity, none above + # the highest. The statistics of each scan print the entry it measured. The trigger + # shift moves backward - forward by ~1.15 x 2 * offset: take entries from scans with the + # calibration applied, or the value where two such scans cross zero. 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: 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]} + # settle_time 0.3 s (default): from uncorrected scans, to be refined with calibrated ones + - {velocity: 2.0, settle_time: 0.3, offset: -1.61} + - {velocity: 4.0, settle_time: 0.3, offset: -2.89} + - {velocity: 10.0, settle_time: 0.3, offset: -4.09} + - {velocity: 20.0, settle_time: 0.3, offset: -1.58} + - {velocity: 30.0, settle_time: 0.3, offset: -0.67} + - {velocity: 40.0, settle_time: 0.3, offset: -0.36} + # settle_time 0.15 s: 8 / 10 mm/s zero crossing of two calibrated scans each; 20 and + # 30 mm/s good to about +-5 um only (uncorrected backward - forward at 20 mm/s varied + # from +18 to +28 um between repeats) + - {velocity: 1.0, settle_time: 0.15, offset: 0.43} + - {velocity: 2.0, settle_time: 0.15, offset: 1.03} + - {velocity: 4.0, settle_time: 0.15, offset: 4.64} + - {velocity: 8.0, settle_time: 0.15, offset: 7.02} + - {velocity: 10.0, settle_time: 0.15, offset: 8.45} + - {velocity: 20.0, settle_time: 0.15, offset: 9.06} + - {velocity: 30.0, settle_time: 0.15, offset: -2.91} + - {velocity: 40.0, settle_time: 0.15, offset: -4.39} enabled: true onFailure: buffer readOnly: false