Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loki Direct Beam Iterations (version 2) #35

Merged
merged 95 commits into from
Jan 17, 2024
Merged

Loki Direct Beam Iterations (version 2) #35

merged 95 commits into from
Jan 17, 2024

Conversation

nvaytet
Copy link
Member

@nvaytet nvaytet commented Nov 24, 2023

This adds the necessary functionality to the I(Q) providers to compute the direct beam function for the LoKI detector tubes, using detector test data obtained at Larmor.

Changes to the pipeline:

  • Ability to merge data from multiple runs in the nexus file loader.
  • DirectRun has been renamed to EmptyBeamRun
  • A DimsToKeep parameter can be used to compute $I(Q)$ per detector layer.

Computing the direct beam function is illustrated in a notebook.

src/esssans/beam_center_finder.py Outdated Show resolved Hide resolved
"""
from .loki.data import get_path

data = np.loadtxt(get_path(filename))
Copy link
Member

Choose a reason for hiding this comment

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

This function will not be usable for anything but test data then? Can we avoid doing path handling here?

@nvaytet
Copy link
Member Author

nvaytet commented Jan 16, 2024

This is currently blocked by scipp/scippnexus#188

@SimonHeybrock
Copy link
Member

This is currently blocked by scipp/scippnexus#188

Can you use the single-threaded dask scheduler for now?

@nvaytet nvaytet merged commit 2e96998 into main Jan 17, 2024
3 checks passed
@nvaytet nvaytet deleted the beam-direct-v2 branch January 17, 2024 14:01
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