# Result files A segment file, or one group of the combined file, holds: | Path | Content | |------|---------| | `schema_version` (attribute) | layout version of the file | | `metadata/` | `model_name`, `segment_idx`, `method`, `science_band`, `param_names` | | `geometry/` | `t0`, `duration`, and the light travel times `ltts` the fit used | | `inference/mle/` | best-fit value of every parameter | | `inference/diagnostics/` | optimiser or sampler diagnostics, `runtime_seconds` | | `inference/samples` | posterior samples `(n_samples, n_params)`, `mcmc` only | | `extras/knots/` | knot frequencies, starting values and instrument settings | | `extras/data_model/` | conditioning and taper settings the fit used | For the modelled pipeline the parameters are the log10 PSDs at the free knots of the two single-link noise splines, `tma_0, …, oms_0, …`. ```python from lisa_noise import read_inference_result result = read_inference_result("results/segment_0.h5") result.mle # {"tma_0": ..., ...} result.samples # None for an "mle" run ``` A file written with a different layout version is refused with a message to rerun the fit.