Skip to content

Major Update to DashPVA#44

Open
Osayi-ANL wants to merge 274 commits intomainfrom
dev
Open

Major Update to DashPVA#44
Osayi-ANL wants to merge 274 commits intomainfrom
dev

Conversation

@Osayi-ANL
Copy link
Collaborator

PR: Feature - Post Analysis Workbench and 3D Visualization Suite

Overview

This PR introduces the new Post Analysis Workbench, a significant expansion of the data inspection capabilities. It allows users to transition between 1D, 2D, and 3D perspectives of scanned data. Additionally, it provides a specialized 3D Analysis Suite for volumetric slicing and internal data inspection.

Key Features

  • Post Analysis Workbench: Added a unified interface to toggle between:
    • 1D: Line profiles and ROI integrated intensity over time/steps.
    • 2D: Enhanced heatmap rendering for detector images.
    • 3D: Full volumetric rendering of reciprocal space or image stacks.
  • Slicing Tools: Integrated orthographic slicing within the 3D toolset to allow users to cut through data volumes for detailed structural analysis.
  • HDF5 Data Alignment: Updated the HDF5Writer to output data in the standardized /entry/data/metadata/HKL/ hierarchy, ensuring full compatibility with the Post Analysis Workbench loading mechanism.

Structural Changes (HDF5)

To support these tools, the saving mechanism now explicitly includes:

  • NAME Datasets: Axis groups now contain human-readable labels (e.g., Mu, Eta, Phi).
  • UB Matrix Normalization: UB matrices are now consistently saved as 9-element flat arrays.
  • RSM Mapping: q-space coordinates (qx, qy, qz) are correctly mapped to the 3D viewing volume.

Notes for Reviewers

  • Verify that the NAME labels are appearing correctly in the UI dropdowns for axis selection.
  • Test the 3D slice performance on larger H5 datasets.
  • Ensure outputs/temp/temp.h5 is correctly overwritten during live scans.

References

  • See CHANGELOG.md for version details.

Julio-Rodriguez-cs and others added 30 commits June 2, 2025 11:20
…, refactored 3d viewer to work with new data structure
…arted and stopped. and timers would start when plotting freq was changed, even if viewer was stopped.
…diffraction image viewer, allowing stop then save functionality. code cleanup
Test 
:change collector_channel uncommented and commented
fremove: label within 3d workspace plotter area labels. ex('HKL Motors: Slice: ~')
remove: saving from 3d viewer
…each button

add: launcher viewer for registry and launcher
remove: old launcher path
change: tab label in workbench to workspace and update all import accordingly
- be able to add roi boxes from memory or from files
- Operations:
  * Average Series: create a 2d mean difference image
  * Produce a 2d or 3d stack where each fram is A-B aligned     by frame
- Ability to save as an HDF5 file plot on 2d workspace
update: roi documentation for how to use the roi calculator, and make documentation text larger
change: moved the roi files in workbench to roi folder
…files

add: dockwindow to add two extra windows for tools
add: playback for folders in the right click context window
remove: Database interface reference by commenting it out
add: hdf5plugin to environment.yml
add: changelog for february
Bug fixes for Workbench and PR requested changes
fix: colormap slice and bar to sync with selected colormap
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.

4 participants