class eelbrain.pipeline.RawReReference(source, reference='average', add=None, drop=None, cache=False)

Re-reference EEG data

  • source (eelbrain._experiment.preprocessing.RawPipe) – Name of the raw pipe to use for input data.

  • reference (str | Sequence[str]) – New reference: 'average' (default) or one or several electrode names.

  • add (str | Sequence[str]) – Reconstruct reference channels with given names and set them to 0.

  • drop (str | Sequence[str]) – Drop these channels after applying the reference.

  • cache (bool) – Cache the resulting raw files (default False).