iqm.cpc.compiler.post_process.average_single_shot_data

iqm.cpc.compiler.post_process.average_single_shot_data#

iqm.cpc.compiler.post_process.average_single_shot_data(run)#

Average the shots (or more generally the average bins) into a new data variable in the dataset.

If the data is already averaged, it is returned unchanged.

Parameters:

run (RunResult) – The RunResult object.

Returns:

The RunResult with the single shot data variables averaged.

Return type:

RunResult