Commit Graph

681 Commits

Author SHA1 Message Date
appel_c 86bfdffedb refactor: add logs for on_stage 2026-06-23 13:04:33 +02:00
x12sa fe240afcdd fix bug in cont_grid as the slow axis was not moving during scans 2026-06-23 13:04:33 +02:00
x12sa 8e030998e7 change beam center and detector distance for JFJ 2026-06-23 13:04:33 +02:00
x12sa c83140ba3f change from microstepping to normal controllers for samx and samy 2026-06-23 13:04:33 +02:00
wakonig_k 661c546656 fix: put mcs callback cm in rlock 2026-06-23 13:04:33 +02:00
appel_c 03c288af34 fix(ddg1): fix suppress mcs updates 2026-06-23 13:04:33 +02:00
appel_c 16d414904b add wait for acquiring compare status in on_complete of mcs card 2026-06-23 13:04:33 +02:00
wakonig_k c35ab16653 fix: make mcs acquiring fetch without auto monitor 2026-06-23 13:04:33 +02:00
appel_c 57119403b4 wip add timestamp logs 2026-06-23 13:04:33 +02:00
appel_c 6614be50d9 fix cont_grid scan 2026-06-23 13:04:33 +02:00
appel_c 57b42fc1d1 move Compare status acquiring after erase-start call 2026-06-23 13:04:33 +02:00
appel_c 77efd4f55e wip fix ddg mcs call 2026-06-23 13:04:33 +02:00
appel_c 476dbb2969 fix(ddg): fix prepare_mcs_on_trigger method 2026-06-23 13:04:33 +02:00
appel_c f5f3358b66 fix(ddg): put_complete for trigger_shot 2026-06-23 13:04:33 +02:00
appel_c 2b5f9fb70c fix(cont-grid): fix cont grid timing issue 2026-06-23 13:04:33 +02:00
wakonig_k 8f7614908e fix(docs): update OS version in Read the Docs configuration to ubuntu-24.04
CI for csaxs_bec / test (pull_request) Successful in 1m31s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 1m31s
2026-06-21 18:17:41 +02:00
x12sa 6ed82d2fea add estimated finish time to progress bar
CI for csaxs_bec / test (pull_request) Successful in 1m30s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 1m31s
2026-06-21 09:30:32 +02:00
wyzula_j 906e91cc7f fix(gui_tools): remove all custom gui timeouts
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 1m29s
2026-06-20 14:05:15 +02:00
wyzula_j dea43edcd9 fix(gui_tools): minimal ring progress bar safeguard in order to not interupt any script using it 2026-06-20 14:05:15 +02:00
x12sa 48b21d806a fix(flomni): correct angular-step labeling, wire manual_shift_y, validate frames_per_trigger
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 1m30s
Fix tomo_parameters() printing the per-sub-tomogram angular step
(self.tomo_angle_stepsize) while labeling it as the final tomogram's
step. At 180° / 2400 total projections this printed 0.6° instead of
the actual combined-tomogram resolution of 0.075°. Both the static
printout and the interactive editor for tomo_type 1 now print and
correctly label both numbers, with explicit parentheses around every
(tomo_angle_range / tomo_angle_stepsize) * 8 expression to remove any
ambiguity. tomo_type 2/3 were already correctly labeled and are
unchanged.

Wire manual_shift_y into sum_offset_y in both tomo_scan_projection
and tomo_acquire_at_angle; it was previously defined and shown in
tomo_parameters() but never applied anywhere. Fix its printed unit
from <mm> to <um>, matching the value it actually holds.

Validate frames_per_trigger on assignment: must be a positive
integer (rejects 0, negative, float, and bool).

Set bec.builtin_actors.scan_interlock (trigger_setting=restart_scan,
enabled=True) at the start of tomo_scan.

Reset estimated_remaining_time at the start of a new tomo_scan, and
add estimated_finish_time (wall-clock projected completion,
stored/reset alongside it). Previously estimated_remaining_time was
never reset between scans, so the progress GUI could display a
leftover estimate from a prior run while the client-side text
printout correctly showed N/A (gated until projection 10).

Also includes: guard tomo_parameters() so stitch_x/stitch_y are
forced to 0 and cannot be set while single_point_instead_of_fermat_scan
is enabled, since stitching is not supported in that mode.
2026-06-20 14:03:05 +02:00
x12sa c4a581bbeb feat(flomni): add 360° tomo range and single-point acquire mode
Add optional full-circle (0-360°, inclusive) angular sweep for
tomo_type 1 (equally spaced sub-tomograms), selectable via the new
tomo_angle_range property (180 default, or 360). Fixes the
_tomo_scan_at_angle gate, which previously hardcoded a 180.05° cutoff
and would silently drop any projection beyond 180° without error.

Add an alternative acquisition mode for each projection angle:
tomo_acquire_at_angle moves fsamroy and the alignment-corrected
rtx/rty/rtz position (same offset logic as tomo_scan_projection, no
stitching), runs the existing laser-tracker checks and
move_samx_to_scan_region, then calls scans.acquire instead of
scans.flomni_fermat_scan. Selectable per scan via the new
single_point_instead_of_fermat_scan flag, dispatched from
_at_each_angle, so it applies independently of tomo_type and
tomo_angle_range.

Add frames_per_trigger as a persistent property, used by both
scans.flomni_fermat_scan (already supported it) and the new
scans.acquire call, for burst acquisition.

Surface all three new settings in tomo_parameters()'s printout and
interactive editor. Update write_pdf_report's projection-count
estimate to scale with tomo_angle_range instead of a hardcoded 180.

tomo_alignment_scan and tomo_type 2/3 angle generation remain
unchanged (still 0-180°), as the new range option only applies to
tomo_type 1.
2026-06-20 14:03:05 +02:00
appel_c 778c3c6bf1 fix: incident energy
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 3s
CI for csaxs_bec / test (push) Successful in 1m31s
2026-06-19 13:36:55 +02:00
appel_c b01ab791b7 fix(eiger): fix fetching energy 2026-06-19 13:36:55 +02:00
appel_c cfef28e755 fix(eiger): Eiger should take initial energy from ccm 2026-06-19 13:36:55 +02:00
x12sa 06507d01b8 add diodes in optics hutch 2026-06-19 13:36:55 +02:00
x12sa 3c1d1cd2f5 correct epics channels for the KB HFM 2026-06-19 13:36:55 +02:00
appel_c 5494b83652 refactor(bl-optics-config): update kb motors part 2 2026-06-19 13:36:55 +02:00
appel_c 05fd2274ed fix(bl-optics-hutch): add kb motors part 1 2026-06-19 13:36:55 +02:00
x12sa 5a2f20b656 refactor(bl-optics-config): Add bender to optics config 2026-06-19 13:36:55 +02:00
x12sa 167a574a2f add beamstop diode and change to monitored 2026-06-19 13:36:55 +02:00
x12sa 769d360acd correct beam center in eiger 9M config 2026-06-19 13:36:55 +02:00
x12sa 61388f8112 update eiger 9M parameters 2026-06-19 13:36:55 +02:00
x12sa 605555dddb add in position for scintillator in optics hutch 2026-06-19 13:36:55 +02:00
x12sa 134395dadd Automatic backup triggered by new deployment
CI for csaxs_bec / test (pull_request) Successful in 1m31s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 6s
CI for csaxs_bec / test (push) Successful in 1m32s
2026-06-18 23:09:27 +02:00
x12sa 6dbe7ef6d7 Automatic backup triggered by new deployment
CI for csaxs_bec / test (push) Successful in 1m37s
2026-06-17 14:26:57 +02:00
x12sa a74144aba1 update flomni config
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 3s
CI for csaxs_bec / test (push) Successful in 1m33s
2026-06-17 10:12:00 +02:00
appel_c 6ea2bf18fd fix(bl-frontend-config): migrate EpicsMotor to EpicsMotorEC
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 3s
CI for csaxs_bec / test (push) Successful in 1m32s
2026-06-16 21:49:24 +02:00
x12sa 75db1c3e09 refactor: adapt optics_hutch motor to ECMC motors 2026-06-16 21:49:24 +02:00
x12sa 94ba2ca7e8 fix(eiger): switch eiger back to eiger_9m config 2026-06-16 21:49:24 +02:00
wakonig_k 00651450d0 feat: add machine config
CI for csaxs_bec / test (pull_request) Successful in 1m32s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 1m30s
2026-06-16 16:27:01 +02:00
appel_c cb0d4cf999 test(eiger): skip on_connected du to change of config to 8_5M from 9M
CI for csaxs_bec / test (pull_request) Successful in 1m31s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 1m34s
2026-06-16 16:22:20 +02:00
x12sa c1619111cf refactor(bl-optics): adapt bl_optics_hutch
CI for csaxs_bec / test (push) Failing after 1m26s
CI for csaxs_bec / test (pull_request) Failing after 1m27s
2026-06-16 15:58:09 +02:00
x12sa 36536eefc4 fix(config-main): move devices from main to user_setup.yaml 2026-06-16 15:57:37 +02:00
x12sa efcf9b3f3e fix(eiger): move eiger to use config for 8.5M
CI for csaxs_bec / test (push) Failing after 1m26s
CI for csaxs_bec / test (pull_request) Failing after 1m28s
2026-06-16 15:54:52 +02:00
x12sa c7fd2f1435 fix(ddg1): fix flaky state check of mcs card
CI for csaxs_bec / test (pull_request) Successful in 1m31s
CI for csaxs_bec / test (push) Successful in 1m39s
2026-06-16 11:57:16 +02:00
appel_c e86a17dce1 fix(cont-grid): fix progress updates for cont grid scan
CI for csaxs_bec / test (push) Successful in 1m33s
CI for csaxs_bec / test (pull_request) Successful in 1m30s
2026-06-16 08:52:52 +02:00
x12sa d98657149d wip from beamline
CI for csaxs_bec / test (push) Successful in 1m32s
CI for csaxs_bec / test (pull_request) Successful in 1m31s
2026-06-15 16:32:38 +02:00
appel_c 93d7e1662a refactor: migrate devices to new scan_info from scan_server
CI for csaxs_bec / test (push) Successful in 1m30s
CI for csaxs_bec / test (pull_request) Successful in 1m30s
2026-06-15 15:52:11 +02:00
appel_c 0aabd49ed1 refactor: migrate devices to new scans_v4 structure 2026-06-15 15:52:11 +02:00
appel_c 6dc3c13137 fix: cont_grid scan fixes 2026-06-15 15:52:11 +02:00