GotthardGandClaude Fable 5.1 1c93927dbb refactor: DataCollectionParameters comes from aarecommon (the shared AareDB<->DAQ contract)
The DAQ validated the samples-spreadsheet WS payload against its own copy
of DataCollectionParameters (aare/common/models.py), which had drifted from
the contract: transmission was still an int percent while AareDB now
sends a 0-1 fraction (aarecommon 0.7.2), and it still carried five fields
that never existed at the beamline. A parity check of all 35 classes in
aare/common/models.py against aarecommon 0.7.4 found the ONLY semantic
differences inside this class, so it is now imported from aarecommon;
everything else in the module stays local (follow-up: fold the rest of
aare.common into aarecommon the same way).

- aarecommon==0.7.4 added as a dependency (PSI index)
- aaredb client 0.1.2a5 -> 0.83.1: the old generated client typed
  transmission as StrictInt and would reject the fraction payload before
  the updater even ran; the new one carries the fraction + canonical names
  (all 11 imported symbols and the 4 SamplesRunner/TellsRunner calls verified)
- spreadsheetupdater re-validates aaredb_params through the contract
  explicitly, so the generated client's copy is transport only
- manual_sample_panel builds its DataCollectionParameters from the shared
  class instead of the generated client's
- daq.py read getattr(aaredb_params, 'totalrange'), which is always None on
  the canonical model (renamed to totalangle years ago) -> the requested
  total angle never prefilled; fixed

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GPer4T34EcvqVJGpeiEJ4Y
2026-09-08 18:20:44 +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
34 MiB
v1.4.0
Latest
2026-10-06 15:53:19 +02:00
Languages
Python 100%