lisa_noise.modelled.from_result

Models rebuilt from a stored modelled result.

A covariance at the best fit is model(frequency, mle_params(result)); the models can equally be called on posterior samples.

Functions

knots_of(result) → lisa_noise.modelled.knots.Knots

The knots a result was fit with.

mle_params(result) → numpy.ndarray

Best-fit parameters, ordered as the models expect.

model_from_result(result, frequency) → lisa_noise.modelled.compute_covariance.TDI2NoiseModel

The instrument model of a fit, on any frequency grid.

data_model_from_result(result[, frequency, segment]) → Any

The data model of a fit: the instrument model, conditioned and tapered.

Module Contents

lisa_noise.modelled.from_result.knots_of(result: lisa_noise.types.PipelineResult) → lisa_noise.modelled.knots.Knots

The knots a result was fit with.

lisa_noise.modelled.from_result.mle_params(result: lisa_noise.types.PipelineResult) → numpy.ndarray

Best-fit parameters, ordered as the models expect.

lisa_noise.modelled.from_result.model_from_result(result: lisa_noise.types.PipelineResult, frequency: numpy.ndarray) → lisa_noise.modelled.compute_covariance.TDI2NoiseModel

The instrument model of a fit, on any frequency grid.

lisa_noise.modelled.from_result.data_model_from_result(result: lisa_noise.types.PipelineResult, frequency: numpy.ndarray | None = None, segment: lisa_noise.types.SegmentData | None = None) → Any

The data model of a fit: the instrument model, conditioned and tapered.

Without segment this is the model the fit used; frequency must be the science-band slice of the fitted segment’s rfft grid.

With segment (lisa_noise.io.read.load_segment()) it is the same fitted noise as seen in that segment: its light travel times, conditioning and taper, on segment.freq. This is how an analysis that conditions its own data gets the covariance of what it analyses without redoing the fit.