eelbrain.pipeline.MneExperiment.load_events

MneExperiment.load_events(subject=None, add_bads=True, data_raw=False, **kwargs)

Load events from a raw file.

Loads events from the corresponding raw file, adds the raw to the info dict.

Parameters:
  • subject (str) – Subject for which to load events (default is the current subject in the experiment’s state).

  • add_bads (False | True | list) – Add bad channel information to the Raw. If True, bad channel information is retrieved from the bad channels file. Alternatively, a list of bad channels can be specified.

  • data_raw (bool) – Keep the mne.io.Raw instance in ds.info['raw'] (default False).

  • ...

    Applicable State Parameters:

    • raw: preprocessing pipeline

    • epoch: which events to use and time window