Skip to content

Add basic reduction flow with PyHyper#12

Open
pbeaucage wants to merge 8 commits intoNSLS2:mainfrom
pbeaucage:main
Open

Add basic reduction flow with PyHyper#12
pbeaucage wants to merge 8 commits intoNSLS2:mainfrom
pbeaucage:main

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