# Configuration reference `lisa-noise` is configured with one YAML file, passed as `--config`. It is merged over the package defaults, so it only needs the keys that differ. A key that is not listed here is rejected. ## `general` | Key | Default | Description | |-----|---------|-------------| | `input_file` | *required* | Processed file written by MojitoProcessor. | | `output_directory` | `"./"` | Where the result files are written. | | `model` | `"modelled"` | Pipeline to run. Only `modelled` is implemented. | | `n_segments` | `"all"` | `"all"`, or an integer for the first N segments of the file. | | `use_jax` | `false` | Use JAX: a compiled likelihood with exact gradients. Recommended. | Relative paths are taken relative to the configuration file. ## `prior` | Key | Default | Description | |-----|---------|-------------| | `width_dex` | `20.0` | Full width of the uniform prior on each knot, in log10 units, centred on its starting value. | ## `inference` | Key | Default | Description | |-----|---------|-------------| | `method` | `"mle"` | `"mle"` or `"mcmc"`. The block of the same name holds its options. | `inference.mle`, the multi-start optimiser: | Key | Default | Description | |-----|---------|-------------| | `n_starts` | `100` | Random starts in the first round; halved in each later round. | | `n_rounds` | `3` | Rounds; each narrows the search around the best results of the last. | | `maxiter` | `2000` | Optimiser iterations per start. | | `seed` | `42` | Seed of the random starts. | `inference.mcmc`, the eryn sampler: | Key | Default | Description | |-----|---------|-------------| | `nwalkers` | `40` | Walkers per temperature. | | `ntemps` | `3` | Parallel-tempering temperatures. | | `nsteps` | `6000` | Steps. No burn-in is removed. | | `seed` | `42` | Seed of the starting points. | ## `condor` | Key | Default | Description | |-----|---------|-------------| | `request_memory` | `"4 GB"` | Memory per job. | | `request_cpus` | `1` | CPUs per job. | | `accounting_tag` | `""` | HTCondor accounting group. | | `environment_path` | `""` | Project directory (or its `.venv`) whose `lisa-noise-pipe` the jobs run; empty uses the one on `PATH`. | ## `modelled` The stages these options control are described in [](pipeline.md). `modelled.science_band`: | Key | Default | Description | |-----|---------|-------------| | `f_min` | `1.0e-4` | Lower edge of the band used in the likelihood, Hz. | | `f_max` | `1.0e-1` | Upper edge, Hz. | `modelled.instrument`, the parametric PSDs. They give the starting value of every knot (and so the centre of its prior), the fixed knots either side of the band, and the shape of the spectra beyond them. | Key | Default | Description | |-----|---------|-------------| | `testmass_asds` | `3.0e-15` | TMA amplitude spectral density, m/s²/√Hz. | | `testmass_fknees` | `4.0e-4` | TMA low-frequency knee, Hz. | | `testmass_fbreak` | `8.0e-3` | TMA high-frequency break, Hz. | | `oms_sci_carrier_asds` | `15.0e-12` | OMS amplitude spectral density, m/√Hz. | | `oms_fknees` | `2.0e-3` | OMS low-frequency knee, Hz. | `modelled.knots`: | Key | Default | Description | |-----|---------|-------------| | `n_oms_knots` | `8` | OMS knots in the band, evenly spaced in log frequency. The nine TMA knots are placed around the turning point of its PSD. | `modelled.mask`, the null mask: | Key | Default | Description | |-----|---------|-------------| | `enabled` | `true` | Leave the bins around the TDI nulls out of the likelihood. | | `n_buffer` | `100` | Bins left out either side of each null. | | `min_null_depth` | `100.0` | Depth of a PSD null: the factor it drops below its surroundings. | | `min_null_depth_cross` | `10.0` | The same for the cross-spectra. | `modelled.geometry`: | Key | Default | Description | |-----|---------|-------------| | `n_ltt_epochs` | `8` | Epochs across the segment over which the TDI kernels are averaged; `1` uses the geometry at the segment start. | `modelled.conditioning_response`: | Key | Default | Description | |-----|---------|-------------| | `enabled` | `true` | Model the filter and decimation recorded in the data file. | `modelled.windowed_covariance`: | Key | Default | Description | |-----|---------|-------------| | `enabled` | `true` | Model the taper applied to the data. | | `method` | `"patches"` | `"patches"` convolves only where leakage matters; `"exact"` convolves every bin. | | `patch_tol` | `1.0e-5` | Relative deviation above which a bin is convolved (`patches`). | | `kernel_tol` | `1.0e-10` | Fraction of the spectral window neglected beyond the guard band. | | `window_kwargs` | `null` | Taper, e.g. `{window: tukey, alpha: 0.025}`, only for a data file that records none. |