lisa_noise.modelled.from_result =============================== .. py:module:: lisa_noise.modelled.from_result .. autoapi-nested-parse:: 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 --------- .. autoapisummary:: lisa_noise.modelled.from_result.knots_of lisa_noise.modelled.from_result.mle_params lisa_noise.modelled.from_result.model_from_result lisa_noise.modelled.from_result.data_model_from_result Module Contents --------------- .. py:function:: knots_of(result: lisa_noise.types.PipelineResult) -> lisa_noise.modelled.knots.Knots The knots a result was fit with. .. py:function:: mle_params(result: lisa_noise.types.PipelineResult) -> numpy.ndarray Best-fit parameters, ordered as the models expect. .. py:function:: 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. .. py:function:: 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`` (:func:`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.