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

Load events from a raw file.

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

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 instance in['raw'] (default False).

Applicable State Parameters:

  • raw: preprocessing pipeline
  • epoch: which events to use and time window