Skip to content

Add a RAWSEL sweep example that captures one RAW file per channel - #39

Merged
mikelangmayr merged 1 commit into
mainfrom
mike/raw-channel-sweep
Sep 29, 2026
Merged

mikelangmayr merged 1 commit into
mainfrom
mike/raw-channel-sweep

Conversation

@mikelangmayr

Copy link
Copy Markdown
Contributor
  • Adds python/examples/raw_channel_sweep.py, which loops RAWSEL through the Python bindings taking one exposure per channel, since the Archon captures raw for a single channel at a time
  • Sets RAWSEL before each exposure, because the controller acquires raw samples while it fills the buffer
  • Reports the module inventory from SYSTEM rather than deriving a slot from RAWSEL, whose stride the manual and the Archon GUI disagree on
  • Optional overrides for the RAW geometry keys, and it leaves RAWENABLE off on the way out
  • Verified against the emulator: three channels swept, each producing a RAW file whose header carries its own RAWSEL alongside the paired image
  • Clean under ruff, 10.00/10 under pylint

@mikelangmayr
mikelangmayr merged commit 8b9ad39 into main Sep 29, 2026
1 of 5 checks passed
@mikelangmayr
mikelangmayr deleted the mike/raw-channel-sweep branch September 29, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants