salvus.project.tools.task_chains.prebuilt_workflows.results.functions
salvus.project.tools.task_chains.prebuilt_workflows.results.functions salvus project tools task_chains prebuilt_workflows results functions Result functions.
Functions
collect_mesh_results_from_tcc()
collect_mesh_results_from_tcc()def collect_mesh_results_from_tcc(
tcc: TaskChainController,
) -> dict[str, FailedMeshChunkResult | MeshChunkResult]: ...Collect mesh chunk results from a task chain controller.
Parameters
tccTaskChainController — The task chain controller.
Returns dict[str, FailedMeshChunkResult | MeshChunkResult]
collect_results_from_tcc()
collect_results_from_tcc()def collect_results_from_tcc(
tcc: TaskChainController,
event_names: list[str],
all_result_folders: dict[str, dict[str, pathlib.Path]],
compute_misfit: bool,
compute_gradients: bool,
) -> dict[
str, FailedResult | MisfitResult | MisfitAndGradientResult | WaveformResult
]: ...This function will collect all results from a finished task chain controller.
Parameters
tccTaskChainController — The task chain controller.event_nameslist[str] — Names of all events. Also the names of the tasks in the task chain controller.all_result_foldersdict[str, dict[str, pathlib.Path]] — Folders where all the results are stored.compute_misfitbool — True if a misfit has been computed.compute_gradientsbool — True if gradients have been computed.
Returns dict[str, FailedResult | MisfitResult | MisfitAndGradientResult | WaveformResult]