Skip to content

LIMS-1914: Fix resolution displayed on grid scan images#1032

Merged
ndg63276 merged 1 commit intopre-release/2026-R1.4from
fix/LIMS-1914/fix-grid-scan-image-resolution-display
Feb 17, 2026
Merged

LIMS-1914: Fix resolution displayed on grid scan images#1032
ndg63276 merged 1 commit intopre-release/2026-R1.4from
fix/LIMS-1914/fix-grid-scan-image-resolution-display

Conversation

@ndg63276
Copy link
Collaborator

JIRA ticket: LIMS-1914

Summary:

When viewing diffraction images from a grid scan in Synchweb, the resolution displayed is incorrect. Hyperion is now marking data collections as using ROI mode, so we can use that to get the right detector size and thus fix the resolution display correct.

Changes:

  • Use numberOfROIPixelsX/Y if the data collection has the detector mode as ROI

To test:

  • Find a grid scan (or group of grid scans) with detector mode as "ROI", eg /dc/visit/mx23694-154/id/21511011 or /dc/visit/mx23694-154/dcg/17646651
  • Click on a box in the grid scan to show a diffraction image
  • As you hover over the diffraction image, the resolution is displayed. Check the resolution has the largest number (eg 100A) at the point near the centre where direct beam hits the detector
  • Check the smallest number (eg 2A) is displayed as you move to the edge of the image
  • Go to a full frame diffraction image, eg /dc/visit/mx23694-154/id/21659709, click on the diffraction image and repeat the checks

@ndg63276 ndg63276 changed the base branch from master to pre-release/2026-R1.4 February 17, 2026 09:55
@ndg63276 ndg63276 merged commit e46af4e into pre-release/2026-R1.4 Feb 17, 2026
2 checks passed
@ndg63276 ndg63276 deleted the fix/LIMS-1914/fix-grid-scan-image-resolution-display branch February 17, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments