Skip to content

BaselineCorrection

Bases: BaseClass

Class for applying baseline correction.

Performs baseline correction on the input data using MNE's built-in apply_baseline() method (for Epochs).

MNE-function used: mne.Epochs.apply_baseline

Parameters:

Name Type Description Default
raw Epochs

Input data.

required
baseline

The time interval (start, stop) in seconds to use for baseline correction. Use None to skip baseline correction.

required

Attributes:

Name Type Description
processed Epochs

Baseline corrected output data.

Example settings for config file

Example settings in correct format for the config file.

BaselineCorrection:
  _biopap_module: <class 'biopap.modules.baseline_correction.BaselineCorrection'>
  baseline:
  - -0.2
  - 0