eaa9e1009bed1963be0b5a0f9a3f6aced3bc916b
Sample screenshots now carry the beam mark as normalized metadata for the
AareDB frontend overlay — the JPEG stays unmarked so raw images remain
clean for YOLO training.
- upload_image: optional `beam_center` sent as a JSON form field.
- ScreenshotService.save_to_db: normalizes the beam mark by the captured
frame dims -> {x,y,ar,[w,h]} via _beam_center_metadata (+ unit tests).
- save_screenshot_db: reads get_beam_mark() (centre) best-effort. Beam
SIZE in px is a TODO(calibration) hook -> crosshair until filled, then
a rectangle matching the gridscan.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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 positionShift + Left click: Z-alignment click behaviourCtrl + Left clickon active raster grid: move to clicked position under the gridLeft dragon active raster grid: move active raster gridRight click: open sample camera context menuRight dragon empty area: draw raster gridRight dragon active raster grid: resize raster gridMouse wheel: rotate omega by 90°Shift + Mouse wheel: rotate omega by 10°Ctrl + Mouse wheel: change sample camera exposure by a large stepAlt + Mouse wheel: change sample camera exposure by a small stepShift + Mouse move: inspect/load raster image under cursor
Video Views
Ctrl + Mouse wheel: zoom in/outF: fit to viewR: reset zoom+or=: zoom in-: zoom out
Sample Queue
Delete: remove selected samplesSpace: run / pause queue automation
Workflow Panel
Delete: remove selected queue itemsSpace: pause / resume workflowCtrl + R: refresh workflow queueCtrl + Delete: clear non-running workflow queue items
Global Shortcuts
F1: open mouse / keyboard controls helpCtrl + Q: quit applicationCtrl + Shift + R: restore default view layoutCtrl + 1: switch to Sample camera tabCtrl + 2: switch to Gonio camera tabCtrl + 3: switch to Beamline view tabCtrl + 4: switch to Beamline combined view tabCtrl + L: raise Sample List panelCtrl + J: raise Automation list panelCtrl + M: go to Sample camera tabCtrl + W: toggle Workflow panelCtrl + Shift + T: toggle Target stability panelCtrl + Shift + P: toggle Prediction Metrics panelCtrl + Shift + S: toggle Smargon trace panel