Skip to content

[ESSSPECTROSCOPY] Make BFIROST detector_number contiguous - #869

Merged
SimonHeybrock merged 5 commits into
mainfrom
bifrost-contiguous-det-number
Nov 13, 2026
Merged

SimonHeybrock merged 5 commits into
mainfrom
bifrost-contiguous-det-number

Conversation

@jl-wynen

Copy link
Copy Markdown
Member

@github-actions github-actions Bot added the essspectroscopy Issues for essspectroscopy. label Nov 12, 2026
@github-actions github-actions Bot changed the title Make BFIROST detector_number contiguous [ESSSPECTROSCOPY] Make BFIROST detector_number contiguous Nov 12, 2026

@SimonHeybrock SimonHeybrock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I tested this with esslivedata release + the pixel-order check from scipp/esslivedata#1450 (without its reordering). As is, the check still raises in the BIFROST Q-map tests; with the coord transpose suggested below, all pass, so the reordering in #1450 could be dropped after we pin a release with this.

Could you add a test asserting that the detector_number coord of the merged detector is contiguous? That would have caught the issue below.

jl-wynen and others added 3 commits November 12, 2026 16:01
Co-authored-by: Simon Heybrock <12912489+SimonHeybrock@users.noreply.github.com>
Co-authored-by: Simon Heybrock <12912489+SimonHeybrock@users.noreply.github.com>
@jl-wynen

Copy link
Copy Markdown
Member Author

Could you add a test asserting that the detector_number coord of the merged detector is contiguous? That would have caught the issue below.

Done.

@SimonHeybrock
SimonHeybrock added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit 4527a4e Nov 13, 2026
10 of 12 checks passed
@SimonHeybrock
SimonHeybrock deleted the bifrost-contiguous-det-number branch November 13, 2026 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

essspectroscopy Issues for essspectroscopy.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants