Configuration¶
Heterodyne uses a YAML configuration file to control every aspect of an analysis run. The configuration is organized into the following sections:
Section |
Purpose |
|---|---|
|
Config version string and free-text description. |
|
Frame range, time step |
|
HDF5 file path and cache settings. |
|
Starting values for the 14 physics + 2 scaling parameters. |
|
Solver selection ( |
|
Results directory, output formats, and checkpoint settings. |
Generating a Default Config¶
heterodyne-config --output my_config.yaml
This writes a fully commented template with sensible defaults for all sections. Edit the file to match your experiment before running the analysis.
Running with a Config¶
heterodyne --config my_config.yaml --method nlsq
The --method flag selects the optimization backend. When omitted, the
method specified inside the YAML optimization.method key is used.