User Guide¶
This guide is structured so you can read it end-to-end or jump directly to the section relevant to your experience level and goal.
Fundamentals
Data and Fitting
Advanced Topics
Practical Guides
Learning Pathways¶
Choose the pathway that matches your background and goal.
Path A — New to XPCS
For scientists with experimental data but no prior Homodyne experience.
What is X-ray Photon Correlation Spectroscopy? — what C2 matrices are and why they matter
installation — get Homodyne installed
quickstart — run your first analysis in 5 minutes
Loading XPCS Data — load your own HDF5 files
NLSQ Fitting Guide — fit static diffusion
Interpreting Results — understand the output
Path B — Laminar Flow / Shear Dynamics
For users analyzing systems with velocity gradients (He et al. PNAS 2025).
What is X-ray Photon Correlation Spectroscopy? — XPCS background
Analysis Modes — static vs. laminar flow
Laminar Flow Analysis Guide — 7-parameter fit
Per-Angle Scaling Modes — per-angle scaling
Bayesian Inference with CMC — uncertainty quantification
Troubleshooting Guide — diagnose convergence issues
Path C — Bayesian Uncertainty Quantification
For users who want posterior distributions, not just point estimates.
quickstart — run NLSQ first (warm-start)
NLSQ Fitting Guide — understand NLSQ output
Bayesian Inference with CMC — Consensus Monte Carlo
Convergence Diagnostics — shard size, chain method, R-hat, ESS
Interpreting Results — read posterior summaries
Path D — Advanced Configuration and Performance
For power users running large datasets on multi-core servers.
YAML Configuration Reference — full YAML reference
Performance Tuning: CPU/NUMA Optimization — XLA flags, NUMA, threading
Large Dataset Handling and Streaming — streaming vs. batch
CMA-ES for Multi-Scale Problems — CMA-ES for multi-scale problems
Parameter Interpretation Guide — all parameters, bounds, units
Sections Overview¶
Section |
Contents |
|---|---|
XPCS primer, core equation, analysis modes, the homodyne model |
|
Data loading, static mode, laminar flow, NLSQ, configuration |
|
CMC/Bayesian, CPU optimisation, CMA-ES, diagnostics |
|
Interpreting results, troubleshooting, FAQ |
|
Parameter reference, CLI reference, changelog |