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

Add basic reduction flow with PyHyper #12

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

pbeaucage
Copy link

This requires PyHyper >= 0.2.6 (current version).

Enhancements to data reduction and integration:

  • Added a new task load_and_reduce to load scan data, perform data reduction using PyHyperScattering, and return the reduced dataset. (F061ae0aL13R51)
  • Introduced a new task load_reduce_and_write_to_tiled to load and reduce scan data, write the results to a Tiled server, and handle exceptions during the process. (F061ae0aL53R101)

Improvements to code organization and functionality:

  • Removed commented-out imports and code related to pyFAI and PyHyperScattering to clean up the file.
  • Added necessary imports for xarray and Tiled client functionalities to support new tasks. (F061ae0aL13R51)
  • Updated the pyhyper_flow function to use the new load_reduce_and_write_to_tiled task and included a placeholder for saving artifacts. (F061ae0aL53R101)

@pbeaucage
Copy link
Author

@AbbyGi @danielballan I think this workflow is ready to merge. It requires PyHyperScattering[bluesky]>= 0.2.6 ideally 0.2.7 to be in the worker environment.

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.

1 participant