class eelbrain.pipeline.SecondaryEpoch(base, sel=None, **kwargs)

Epoch inheriting events from another epoch

Secondary epochs inherits events and corresponding trial rejection from another epoch (the base). They also inherit all other parameters unless they are explicitly overridden. For example sel can be used to select a subset of the events in the base epoch.

  • base (str) – Name of the epoch whose parameters provide defaults for all parameters. Additional parameters override parameters of the base epoch, with the exception of trigger_shift, which is applied additively to the trigger_shift of the base epoch.

  • ... – Override base-epoch parameters (see PrimaryEpoch).