PTYCHOGRAPHY DATA PIPELINES WITH PTYCHODUS
PTYCHODUS - DIASPORA DEMO + LCLS AI/ML DOCUMENTATION CHALLENGE SERIES
STEVE HENKE
Data Engineer
X-ray Science Division
shenke@anl.gov
ALBERT VONG
Postdoctoral Appointee
X-ray Science Division
avong@anl.gov
8 August 2024
Introduction
APS Ptychography Beamlines
Approximately 10 Beamlines Post-Upgrade
3
APS-U enables faster data acquisition, higher resolution, thicker samples, and more options for multi-modal characterization
APS Ptychography Software
https://github.com/AdvancedPhotonSource
Ptychodus
Tike
PtychoNN
PTYCHODUS DEMONSTRATION
APS Ptychography Data Pipelines
Ptychographic reconstruction
APS Ptychography Data Pipelines
On-demand file-based reconstruction
APS DM
APS
ALCF
Orchestrates data acquisition and calls DM Python API to start processing
Trigger from Bluesky launches DM workflow:
User views experiment data and initial reconstruction in Ptychodus GUI
Prepared experiment data copied to Eagle filesystem
Globus compute endpoint submits job to Polaris demand queue using ALCF service account
Ptychodus loads prepared data & calls Tike to reconstruct the dataset
APS Ptychography Data Pipelines
On-demand streaming reconstruction (proof of concept)
APS DM
Calls DM Python API to start processing then orchestrates data acquisition
Trigger from Bluesky launches DM workflow that starts the Ptychodus streaming data processor
Ptychodus streaming data processor (pvaPy) receives diffraction patterns and scan positions over separate PVA channels
In development: User views experiment data and reconstruction (both from PVA) in Ptychodus GUI
Ptychodus Workflow Demonstration
Demo: Reprocessing workflow can reconstruct on local workstation or use�GUI to launch reconstruction on remote resources using Globus Compute