Configuration Options Reference¶
This page documents every configuration key accepted by the Heterodyne analysis pipeline, organized by YAML section.
metadata¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Semantic version of the configuration schema. |
|
|
|
Free-text description stored in output metadata. |
analyzer_parameters¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
|
required |
Frame-to-frame time step in seconds. |
|
|
|
Index of the first frame (inclusive). |
|
|
required |
Index of the last frame (exclusive). |
|
|
required |
Scattering wavevector \(q\) in \(\text{\AA}^{-1}\). |
experimental_data¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
|
required |
Path to the HDF5 experiment file. |
|
|
|
Compress cached intermediate arrays to reduce disk usage. |
initial_parameters¶
The parameter_names list enumerates which of the 16 parameters to include
in the fit. The parameter registry defines default starting values, bounds,
and priors for every parameter.
Physics Parameters (14)¶
Parameter |
Default |
Min Bound |
Max Bound |
Description |
|---|---|---|---|---|
|
1e4 |
0 |
1e6 |
Reference diffusion prefactor (\(\text{\AA}^2/\text{s}^\alpha\)). |
|
0.0 |
-2.0 |
2.0 |
Reference transport exponent. |
|
0.0 |
-1e4 |
1e4 |
Reference diffusion offset. |
|
1e4 |
0 |
1e6 |
Sample diffusion prefactor (\(\text{\AA}^2/\text{s}^\alpha\)). |
|
0.0 |
-2.0 |
2.0 |
Sample transport exponent. |
|
0.0 |
-1e4 |
1e4 |
Sample diffusion offset. |
|
1e3 |
0 |
1e6 |
Velocity amplitude (\(\text{\AA}/\text{s}\)). |
|
1.0 |
0 |
2.0 |
Velocity exponent. |
|
0.0 |
-100 |
100 |
Velocity offset (\(\text{\AA}/\text{s}\)). |
|
0.5 |
0 |
1.0 |
Sample fraction coefficient 0. |
|
0.0 |
-1.0 |
1.0 |
Sample fraction coefficient 1. |
|
0.0 |
-1.0 |
1.0 |
Sample fraction coefficient 2. |
|
0.0 |
-1.0 |
1.0 |
Sample fraction coefficient 3. |
|
0.0 |
\(-\pi\) |
\(\pi\) |
Flow angle (radians). |
Scaling Parameters (2)¶
Parameter |
Default |
Min Bound |
Max Bound |
Description |
|---|---|---|---|---|
|
1.0 |
0 |
10.0 |
Speckle contrast scaling factor. |
|
0.0 |
-1.0 |
1.0 |
Baseline offset. |
Note
All 16 parameters have vary_default=True in the parameter registry.
To fix a parameter during fitting, override its vary flag in the
configuration or the Python API.
optimization¶
Top-Level¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Optimization backend: |
optimization.nlsq¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Maximum Levenberg–Marquardt iterations. |
|
|
|
Convergence tolerance on the cost function. |
optimization.cmc¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
NUTS warmup (adaptation) steps per chain. |
|
|
|
Post-warmup posterior draws per chain. |
|
|
|
Number of independent MCMC chains. |
|
|
|
Target acceptance probability for NUTS step-size adaptation. |
|
|
|
Maximum Gelman–Rubin \(\hat{R}\) for convergence. |
output¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Directory for result files and checkpoints. |
|
|
|
Output format(s): |