Skip to content

Eiger Ophyd Async Implementation - #9

Merged
Thomas Hopkins (thopkins32) merged 51 commits into
mainfrom
eiger-async
Oct 20, 2025
Merged

Eiger Ophyd Async Implementation#9
Thomas Hopkins (thopkins32) merged 51 commits into
mainfrom
eiger-async

Conversation

@thopkins32

@thopkins32 Thomas Hopkins (thopkins32) commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

Implements ADEiger using Ophyd Async.

This exposes all of the documented PVs in ADEiger and the logic for operating the detector using the FileWriter or Stream interface.

To use the FileWriter interface, you must use the EigerWriter class when initializing the detector (this is the default behavior).

Also implemented is a set of unit tests that mock the actual behavior of the Eiger detector and its file writing interface.

  • Validated that the mocking is accurate with the real hardware

@thopkins32 Thomas Hopkins (thopkins32) changed the title Eiger async Eiger Ophyd Async Implementation Jul 10, 2025
@jwlodek

Copy link
Copy Markdown

Once this is working as intended, could we add it to ophyd_async/epics/adeiger too?

@jwlodek Jakub Wlodek (jwlodek) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just two minor notes.

Comment thread src/cditools/eiger_async.py
Comment thread src/cditools/eiger_async.py Outdated
@thopkins32

Copy link
Copy Markdown
Contributor Author

I commented out the pyright type checking for now. We have to fix errors unrelated to this PR.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@mrakitin Max Rakitin (mrakitin) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! It's a lot of code, so I did not read every detail, but the idea looks correct. We'll test it once the detector is available.

@thopkins32

Copy link
Copy Markdown
Contributor Author

Max Rakitin (@mrakitin) or Jakub Wlodek (@jwlodek) can one of you approve? It dismissed the prior approval since I had to fix a merge conflict.

@thopkins32
Thomas Hopkins (thopkins32) merged commit c3d8a0c into main Oct 20, 2025
10 checks passed
@thopkins32
Thomas Hopkins (thopkins32) deleted the eiger-async branch October 20, 2025 14:29
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.

4 participants