slv.inversion.sweep.SweepResults.to_config# SweepResults.to_config(row, pipeline=<function run>, cache=None)[source]# Rehydrate an InversionConfig from a results row. Parameters: row (Series) – A row from df (e.g. results.best().iloc[0]). pipeline (Callable[[InversionConfig], Posterior]) – The pipeline function to associate. cache (str | Path | None) – Override cache path. If None, keeps the original run’s cache. Returns: ``(InversionConfig, pipeline)`` Return type: pipeline(config) runs it.