eelbrain.pipeline.Reference

class eelbrain.pipeline.Reference(reference='average', add=None, drop=None)[source]

Re-reference EEG data after epoching and channel interpolation

Used as a value in Pipeline.references and selected through the reference state. Also the base class for RawReReference, which applies the same operation to continuous raw data.

Parameters:
  • 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.