BayesWave jobs are configured through the production metadata. Key configuration
sections include:
Signal/glitch component selection (optional)
By default no likelihood.components is given, and a production runs BayesWave in
its original PSD-only (“cleanOnly”) mode, exactly as before this option existed. To also
run BayesWave’s signal and/or glitch wavelet models – for source reconstructions, a
coherence test, or both – add a components block under likelihood:
likelihood:
components:
signal: wavelets # none | wavelets | chirplets | cbc (cbc: not yet supported)
glitch: wavelets # none | wavelets | chirplets
noise:
psd: fit # fit | fixed (fixed: not yet supported)
lines: true # BayesLine spectral-line modelling (default: true)
coherence test: true # implies signal: wavelets, glitch: wavelets if not given
signal/glitch default to none and only turn on when set to wavelets or
chirplets – a bare components: block, or one that only sets noise, stays a
PSD-only run (only coherence test: true defaults unset signal/glitch to
wavelets). This resolves to one of five run modes (BayesWave.run_mode):
full mode (--fullOnly) runs BayesWave’s combined signal+glitch model – the right
choice for a joint reconstruction – but BayesWave only writes a single “full” evidence for
it, not separate signal/glitch/noise evidences (see BayesWaveIO.c:1858), so there is no
signal:glitch Bayes factor to compute from a full-mode run. A coherence test instead
needs signal, glitch and noise run as genuinely independent phases so their
evidences can be compared – that’s BayesWave’s own default model set with no restriction
flag at all (BayesWaveIO.c ~1638-1649), which is exactly what coherence test: true
("coherence" mode) requests. Because of this, coherence test: true combined with
signal: none or glitch: none raises a PipelineException – a coherence test needs
both. On-source PSD estimation always runs alongside whichever mode is chosen, so
collect_assets()["psds"]/["xml psds"] are unaffected by components.
Unsupported combinations (signal: cbc, noise: {psd: fixed}) or unknown values raise
a clear PipelineException from build_dag() rather than being
silently ignored or mis-run.