Skip to content

Add tof_helpers.InstrumentDefinitionReader#842

Merged
toastisme merged 2 commits intomainfrom
tof_instrument_definition_reader
Aug 13, 2025
Merged

Add tof_helpers.InstrumentDefinitionReader#842
toastisme merged 2 commits intomainfrom
tof_instrument_definition_reader

Conversation

@toastisme
Copy link
Contributor

TOF NeXus files often contain instrument definitions in spherical coordinates. This can be preferable to use compared to hardcoded values as they often change over time. This adds a class to tof_helpers to parse this information and extract detector geometry in the DIALS format.

FormatMANDI is updated to use this by default.

…tion directly from xml data, and update FormatMANDI to use this by default.
@toastisme toastisme changed the title Add tof_helpers.InstrumentDefinitionReader t Add tof_helpers.InstrumentDefinitionReader Aug 13, 2025
@toastisme toastisme merged commit 3fcf681 into main Aug 13, 2025
13 checks passed
@toastisme toastisme deleted the tof_instrument_definition_reader branch August 13, 2025 15:32
aaronfinke pushed a commit to aaronfinke/dxtbx that referenced this pull request Oct 7, 2025
Add tof_helpers.InstrumentDefinitionReader to read instrument information directly from xml data, and update FormatMANDI to use this by default.
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