Read averaged MFF file as EvokedArray or list of EvokedArray.
str
File path to averaged MFF file. Should end in .mff.
int
or str
| list
of int
or str
| None
The index (indices) or category (categories) from which to read in
data. Averaged MFF files can contain separate averages for different
categories. These can be indexed by the block number or the category
name. If condition
is a list or None, a list of EvokedArray objects
is returned.
str
Channel naming convention for EEG channels. Defaults to ‘E%d’ (resulting in channel names ‘E1’, ‘E2’, ‘E3’…).
None
(default) or tuple
of length 2The time interval to apply baseline correction. If None do not apply it. If baseline is (a, b) the interval is between “a (s)” and “b (s)”. If a is None the beginning of the data is used and if b is None then b is set to the end of the interval. If baseline is equal to (None, None) all the time interval is used. Correction is applied by computing mean of the baseline period and subtracting it from the data. The baseline (a, b) includes both endpoints, i.e. all timepoints t such that a <= t <= b.
str
| int
| None
Control verbosity of the logging output. If None
, use the default
verbosity level. See the logging documentation and
mne.verbose()
for details. Should only be passed as a keyword
argument.
EvokedArray
or list
of EvokedArray
The evoked dataset(s); one EvokedArray if condition is int or str, or list of EvokedArray if condition is None or list.
ValueError
If fname
has file extension other than ‘.mff’.
ValueError
If the MFF file specified by fname
is not averaged.
ValueError
If no categories.xml file in MFF directory specified by fname
.
See also
Notes
New in version 0.22.