Configuration Reference¶
The default value controls the cast applied to each option.
bayRing configuration files are ini files parsed by
configparser. The parser starts from defaults defined in
bayRing.initialise.read_config and overrides only the keys present in the
file.
Minimal Shape¶
A minimal run can be as short as:
[I/O]
outdir = my_run
screen-output = 1
[NR-data]
error = constant-0.0001
[Model]
template = Kerr
QNM-modes = 220
[Inference]
nlive = 32
maxmcmc = 32
t-start = 30.0
t-end = 80.0
Missing sections are allowed when every key in that section can use its
default. The [Priors] section is optional unless you need custom bounds,
fixed values or minimization start values.
[I/O]¶
Key |
Default |
Meaning |
|---|---|---|
|
|
|
|
|
|
|
|
Show Matplotlib windows after plotting. |
|
|
Extract damping-time information from amplitude decay in comparison plots where supported. |
|
|
Output directory for samples, logs, plots and diagnostics. |
[NR-data]¶
Key |
Default |
Meaning |
|---|---|---|
|
|
Ask the catalogue reader to download data where implemented. |
|
empty string |
Local NR data directory. |
|
|
Catalogue backend. |
|
|
Simulation identifier. |
|
|
SXS extrapolation order. |
|
|
Resolution level. For SXS, |
|
|
Teukolsky radial collocation count. Overrides |
|
|
Teukolsky angular collocation count. |
|
|
Teukolsky perturbation order. |
|
|
Spherical NR multipole |
|
|
Spherical NR multipole |
|
|
NR error prescription. |
|
|
Lower fractional mismatch-alignment window input. |
|
|
Upper fractional mismatch-alignment window input. |
|
|
Complex constant offset encoded as amplitude,phase. |
|
empty string |
Optional CSV with additional simulation properties. |
|
empty string |
Optional CSV with model-fit coefficients. |
|
|
Explicit |
|
|
Waveform quantity to read where supported. |
[Model]¶
Key |
Default |
Meaning |
|---|---|---|
|
|
Waveform family. |
|
|
Number of damped-sinusoid modes. |
|
|
Linear Kerr QNM list. |
|
empty string |
Quadratic QNM coupling list. |
|
|
Add Kerr tail terms. |
|
|
Tail mode list written as |
|
|
|
|
empty string |
Noncircular amplitude-correction variables. |
|
|
TEOB post-merger template branch, either |
|
|
Use calibrated TEOB global fits. If |
|
|
Use NR merger peak quantities from |
Some templates override QNM-modes internally. For example KerrBinary
and TEOBPM set their calibrated mode lists based on the selected template
version.
[Inference]¶
Key |
Default |
Meaning |
|---|---|---|
|
|
|
|
|
|
|
|
Nested sampler: |
|
|
Number of live points. |
|
|
Maximum MCMC steps for nested sampling. |
|
|
Random seed. |
|
|
Number of raynest nested samplers. |
|
|
Number of raynest ensemble processes. |
|
|
Fit start time in |
|
|
Fit end time in |
|
|
Delay used for Teukolsky second-order peak conventions. |
|
|
SciPy least-squares method: |
|
|
Maximum least-squares function evaluations per seed. |
|
|
Number of minimization starts. |
|
|
Fisher eigenvalue floor for linear inversion. |
When method is Minimization or Linear-inversion, nlive and
maxmcmc are set to None after parsing because no nested sampler is run.
[Priors]¶
The [Priors] section has no fixed list of keys. It uses parameter names
created by the selected waveform model.
Override bounds:
[Priors]
ln_A_220-min = -12.0
ln_A_220-max = 0.0
Fix values:
[Priors]
fix-ln_A_220 = -5.0
fix-phi_220 = 1.0
Set minimization start values:
[Priors]
ln_A_220-start = -6.0
phi_220-start = 3.14
Parameter names are documented in Waveform Models and printed at startup.
[Mismatch-PSD-settings]¶
These settings control post-inference mismatch and optimal-SNR diagnostics. They do not define the inference likelihood.
Key |
Default |
Meaning |
|---|---|---|
|
empty string |
ASD file path. The code can use its default public ASD path when empty. |
|
|
Observation time in seconds. If empty/zero, inferred from the PSD grid. |
|
|
Smooth below, above or both PSD edges. |
|
|
Low-frequency smoothing window range. |
|
|
High-frequency smoothing window range. |
|
|
Number of grid values for the two window ranges. |
|
|
Smoothing steepness range. |
|
|
Number of steepness grid values. |
|
|
Low-frequency saturation range. |
|
|
High-frequency saturation range. |
|
|
Number of saturation grid values. |
|
|
Number of FFT lengths to scan. |
|
|
Number of C1 smoothing iterations. |
[Mismatch-GW-parameters]¶
These settings set the physical strain scale and detector response quantities used in mismatch/SNR diagnostics.
Key |
Default |
Meaning |
|---|---|---|
|
|
Remnant mass in solar masses. |
|
|
Luminosity distance in Mpc. |
|
|
Right ascension in radians. |
|
|
Declination in radians. |
|
|
Polarization angle in radians. |
[Flags]¶
Key |
Default |
Meaning |
|---|---|---|
|
|
Apply PSD edge smoothing. |
|
|
Apply C1 fixing after smoothing. |
|
|
Clear mismatch smoothing-output subdirectories before running. |
|
|
Also compute frequency-domain checks where implemented. |
|
|
Print extra mismatch diagnostic information. |
|
|
Save PSD/ACF/window sanity plots. |