Skip to content

Conversation

@SimonHeybrock
Copy link
Member

This depends on a release of scipp/scippnexus#221 so CI will fail for now.

Fixes #77.

In ESSsans there is another intermediate step, adding source+sample position before adding event data, I was not sure if it makes sense the split this out here.

It is quite apparent that there is a lot of duplication of code that is in ESSsans, but currently this is required since we have per-technique RunType and MonitorType. If we could agree on a universal set it might be possible to move some of this into essreduce, but I am not sure for now. Or maybe someone has a better idea?

@SimonHeybrock SimonHeybrock requested a review from jl-wynen August 7, 2024 12:50
- The high-resolution and SANS detectors have a very odd numbering scheme.
The scheme attempts to follows some sort of physical ordering in space (x,y,z),
but it is not possible to reshape the data into all the logical dimensions.
"""
Copy link
Member

Choose a reason for hiding this comment

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

This docstring seems to be in the wrong file.

definitions = snx.base_definitions()
definitions["NXdetector"] = FilteredDetector
# Events will be loaded later. Should we set something else as data instead, or
# use different NeXus definitions to completely bypass the (empty) event load?
Copy link
Member

Choose a reason for hiding this comment

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

You used this already for monitors. Why not here?

@SimonHeybrock SimonHeybrock changed the base branch from main to update-deps August 8, 2024 12:00
@SimonHeybrock SimonHeybrock merged commit 79ddce2 into update-deps Aug 8, 2024
@SimonHeybrock SimonHeybrock deleted the nexus branch August 8, 2024 13:57
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.

Implement NeXus loading helpers

3 participants