Skip to content

AmSC Genesis#127

Merged
stevehenke merged 71 commits into
mainfrom
amsc
Jun 12, 2026
Merged

AmSC Genesis#127
stevehenke merged 71 commits into
mainfrom
amsc

Conversation

@stevehenke

Copy link
Copy Markdown
Contributor
  • New AmSC IRI client with facility, status, account, and compute APIs
  • Facility adapters for ALCF, NERSC, and OLCF; choose compute resource by name; facility shown in Genesis status table
- New AmSC transfer client
  • Live status monitoring and shared task-progress reporting for processing and fluorescence pipelines
  • New token-management CLIs: ptychodus-iri-tokens and ptychodus-transfer-tokens
  • Per-facility helper scripts under src/ptychodus/scripts/genesis/{alcf,nersc,olcf}/
  • Update to pty-chi 1.4.0; add Bilinear Hessian reconstructor backend and expose new probe-support methods and magnitude/phase optimization components
  • Update PtychoPINN-Torch integration: in-memory prediction, multiple-probe-mode export, sync to upstream API
  • Per-reconstructor model autosave / autoload, wired through the Genesis workflow
  • Support APS 31-ID LYNX area-detector file format
  • ptychodus-bdp: load bad-pixel masks from file
  • Clean up diffraction-pattern / probe-position association so pairing is driven strictly by diffraction pattern index, with duplicate-index averaging and interpolation for missing positions; out-of-range patterns are dropped rather than extrapolated
  • Paganin object builder (single-material phase retrieval from the central diffraction pattern)
  • Hermite probe builder
  • Estimate diffraction-pattern crop center and probe-size metrics from raw data
  • New ReconstructionAmbiguities estimator (global complex scale, linear phase ramp, sub-pixel shift) so quality metrics compare reconstructions on equal footing
  • FRC (Fourier ring correlation) preprocessing, metrics, and GUI panel
  • Visualize reconstruction residuals (per-pattern modeled-vs-measured diffraction)
  • Revise affine-transform estimator for probe-position correction (RANSAC, Hodges–Lehmann centering)
  • Propagator view: improved layout and on-the-fly probe-size metrics
  • XMCD dialog fixes
  • Allow and gracefully render NaN values in visualizations
  • Group navigation subviews in the left-panel toolbar
  • Diffraction loading progress monitor
  • Fluorescence enhancer progress monitor (shared TaskMonitor) with enhance_fluorescence_local workflow API
  • Auto-size item-view columns
  • Split the single Dockerfile into per-accelerator variants: Dockerfile.cpu, Dockerfile.cuda, Dockerfile.rocm, Dockerfile.xpu, each with build-arg knobs (CUDA / ROCm / PyTorch versions, XPU base tag)
  • Add a podman wrapper script (src/ptychodus/scripts/podman/ptychodus) that builds, runs, and mounts the container with the right GPU / display / volume flags
  • New ptychodus-system-check CLI for smoke-checking the installed environment
  • Improved documentation and test coverage

stevehenke added 28 commits May 24, 2026 15:19
- Refactor FluorescenceEnhancingAlgorithm into an iterator-based
  FluorescenceEnhancer (Input/Output dataclasses, progress goal) and
  add FluorescenceAPI + FluorescenceTaskMonitor mirroring processing.
- Extract shared TaskProgressMonitor/TaskLogHandler into model/task_monitor.py;
  drop model/processing/context.py in favor of model/processing/monitor.py.
- Add WorkflowProductAPI.enhance_fluorescence_local for batch/remote runs.
- Expand api/metrics.py with ObjectComparison (alignment + ambiguity
  standardization) and SSIM/PSNR helpers; add tests/test_metrics.py.
- Wire the new fluorescence task monitor through the probe/object/product
  controllers and view; update api.rst.
@stevehenke stevehenke merged commit 36fb64c into main Jun 12, 2026
8 checks passed
@stevehenke stevehenke deleted the amsc branch June 12, 2026 21:13
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