appleb_mandClaude Opus 4.8 53e29bece3 raster auto-center: zoom-to-fit loop + loop_face padding + optional crystal union
Before the first auto-center raster, zoom so the loop fills at most 1/3 of the
frame, pad loop_face grids, and optionally extend the grid to cover crystals
outside the loop.

- ml_bounding_box: add build_ml_raster_plan() (single prediction via
  predict_all_best) returning the grid request + raw loop_all/loop_face boxes +
  image size. Grid box is loop_face (else loop_all); loop_face is padded by
  daq.auto_raster.loop_face_padding_fraction (15% default); when
  daq.auto_raster.include_crystal is set, the grid is unioned with any crystal
  boxes lying beyond the loop. get_ml_bounding_box (manual button / endpoint)
  is unchanged.
- config: add zoom_for_pixel_to_mm(), the inverse of pixel_to_mm.
- raster service execute_auto_center: after the first detection (reused, no
  re-predict), pick loop_all if detected and not clipped at the frame edge else
  loop_face, compute the zoom that makes its larger side 1/3 of the frame, clamp
  to daq.hardware.zoom_min/max, set zoom and re-expose.
- x06da.yaml: zoom_min/max + daq.auto_raster block.
- tests for box selection, padding, crystal union and the clipped-loop_all rule.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 09:45:43 +02:00
2026-04-29 17:34:41 +02:00
2026-06-24 15:30:04 +02:00
2026-04-29 17:34:41 +02:00
2026-06-05 14:11:08 +02:00

AareDAQ (v0.3.1)

AareDAQ is the Data Acquisition system for MX beamlines at PSI.

GUI Controls Cheat Sheet

Sample Camera

  • Left click: move sample to clicked position
  • Shift + Left click: Z-alignment click behaviour
  • Ctrl + Left click on active raster grid: move to clicked position under the grid
  • Left drag on active raster grid: move active raster grid
  • Right click: open sample camera context menu
  • Right drag on empty area: draw raster grid
  • Right drag on active raster grid: resize raster grid
  • Mouse wheel: rotate omega by 90°
  • Shift + Mouse wheel: rotate omega by 10°
  • Ctrl + Mouse wheel: change sample camera exposure by a large step
  • Alt + Mouse wheel: change sample camera exposure by a small step
  • Shift + Mouse move: inspect/load raster image under cursor

Video Views

  • Ctrl + Mouse wheel: zoom in/out
  • F: fit to view
  • R: reset zoom
  • + or =: zoom in
  • -: zoom out

Sample Queue

  • Delete: remove selected samples
  • Space: run / pause queue automation

Workflow Panel

  • Delete: remove selected queue items
  • Space: pause / resume workflow
  • Ctrl + R: refresh workflow queue
  • Ctrl + Delete: clear non-running workflow queue items

Global Shortcuts

  • F1: open mouse / keyboard controls help
  • Ctrl + Q: quit application
  • Ctrl + Shift + R: restore default view layout
  • Ctrl + 1: switch to Sample camera tab
  • Ctrl + 2: switch to Gonio camera tab
  • Ctrl + 3: switch to Beamline view tab
  • Ctrl + 4: switch to Beamline combined view tab
  • Ctrl + L: raise Sample List panel
  • Ctrl + J: raise Automation list panel
  • Ctrl + M: go to Sample camera tab
  • Ctrl + W: toggle Workflow panel
  • Ctrl + Shift + T: toggle Target stability panel
  • Ctrl + Shift + P: toggle Prediction Metrics panel
  • Ctrl + Shift + S: toggle Smargon trace panel
S
Description
No description provided
Readme
31 MiB
v0.25.0
Latest
2026-09-09 18:15:11 +02:00
Languages
Python 100%