iqm.cpc.core.run_result.construct_run_result#
- iqm.cpc.core.run_result.construct_run_result(run_data, sweep_results, post_processes=None)#
Construct the complete experiment results of a run.
Loads data that was saved by Station Control, using reconstructing functionality for run result. Runs post-processing functionality against the dataset of the constructed run result and packages
it to a single structure along with run data.
- Parameters:
run_data (RunData) – Data of the run for which a run result should be constructed.
sweep_results (dict[str, list[ndarray]]) – Sweep results of the run for which a run result should be constructed.
post_processes (list[Callable[[RunResult], RunResult]] | None) – List of functions to apply for dataset of the reconstructed run result. Default to returning reconstructed run result without changes.
- Returns:
Run result which contains the post-processed run data and the post-processed dataset.
- Return type: