Skip to content

Add Jungfrau 9M detector size constants - #2184

Merged
rtuck99 merged 3 commits into
DiamondLightSource:mainfrom
ndevenish:jungfrau_constants
Oct 20, 2026
Merged

rtuck99 merged 3 commits into
DiamondLightSource:mainfrom
ndevenish:jungfrau_constants

Conversation

@ndevenish

Copy link
Copy Markdown
Contributor

The i24 jungfrau is a Jungfrau 9M: 3108 x 3262 pixels of 75um, so 233.1 x 244.65 mm.

Instructions to reviewer on how to test:

  1. import dodal.devices.detector.det_dim_constants
  2. print(dodal.devices.detector.det_dim_constants.ALL_DETECTORS["JUNGFRAU_9M"])

Checks for reviewer

  • Would the PR title make sense to a scientist on a set of release notes
  • If a new device has been added does it follow the standards
  • If changing the API for a pre-existing device, ensure that any beamlines using this device have updated their Bluesky plans accordingly
  • Have the connection tests for the relevant beamline(s) been run via dodal connect ${BEAMLINE}

The i24 commissioning jungfrau is a PSI Jungfrau 9M: 3108 x 3262 pixels of 75um,
so 233.1 x 244.65 mm. Recorded the way every other detector's dimensions are, so
that anything needing them - a resolution calculation, in the case at hand - can
look them up by type rather than carrying its own copy.
@ndevenish
ndevenish requested a review from a team as a code owner August 24, 2026 11:08
@codecov

codecov Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.29%. Comparing base (b28dedd) to head (40235f2).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2184   +/-   ##
=======================================
  Coverage   99.29%   99.29%           
=======================================
  Files         372      372           
  Lines       14630    14638    +8     
=======================================
+ Hits        14527    14535    +8     
  Misses        103      103           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rtuck99 rtuck99 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.

Approved

@rtuck99
rtuck99 enabled auto-merge (squash) October 16, 2026 09:35
@rtuck99
rtuck99 merged commit 2b60301 into DiamondLightSource:main Oct 20, 2026
9 of 10 checks passed
@ndevenish
ndevenish deleted the jungfrau_constants branch October 20, 2026 10:31
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