eelbrain.pipeline.RawReReference

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

Re-reference EEG data

Parameters:
  • source (str) – Name of the raw pipe to use for input data.

  • reference (str | sequence of str) – New reference: 'average' (default) or one or several electrode names.

  • add (str | list of str) – Reconstruct reference channels with given names and set them to 0.

  • drop (list of str) – Drop these channels after applying the reference.

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