- eelbrain.load.fiff.add_mne_epochs(ds, tmin=- 0.1, tmax=None, baseline=None, target='epochs', **kwargs)
Load epochs and add them to a dataset as
If, after loading, the Epochs contain fewer cases than the Dataset, a copy of the Dataset is made containing only those events also contained in the Epochs. Note that the Epochs are always loaded with
If the Dataset’s info dictionary contains a ‘bad_channels’ entry, those bad channels are added to the epochs.
ds (Dataset) – Dataset with events from a raw fiff file (i.e., created by load.fiff.events).
tmin (scalar) – First sample to include in the epochs in seconds (Default is -0.1).
tmax (scalar) – Last sample to include in the epochs in seconds (Default 0.6; use
tstopinstead to specify index exclusive of last sample).
baseline ((float, float) | None) – Time interval for baseline correction.
(tmin, tmax)tuple in seconds, or
Noneto use all the data (e.g.,
(None, 0)uses all the data from the beginning of the epoch up to
t = 0). Set to
Nonefor no baseline correction (default).
target (str) – Name for the Epochs object in the Dataset.
... – See