correct_baseline_average

PreProcessingPipeline.correct_baseline_average(select: dict[str, slice | list[int] | int] | None = None, exclude: dict[str, slice | list[int] | int] | None = None) PreProcessingPipeline[source]

Correct a dataset by subtracting the average over a part of the data.

Parameters:
  • select (dict[str, slice | list[int] | int] | None) – The selection to average as dictionary of dimension and indexer. The indexer can be a slice, a list or an integer value.

  • exclude (dict[str, slice | list[int] | int] | None) – Excluded regions from the average as dictionary of dimension and indexer. The indexer can be a slice, a list or an integer value.

Return type:

PreProcessingPipeline