Read averaged MFF file as EvokedArray or list of EvokedArray.
strFile path to averaged MFF file. Should end in .mff.
int or str | list of int or str | NoneThe 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.
strChannel 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 | NoneControl 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 EvokedArrayThe evoked dataset(s); one EvokedArray if condition is int or str, or list of EvokedArray if condition is None or list.
ValueErrorIf fname has file extension other than ‘.mff’.
ValueErrorIf the MFF file specified by fname is not averaged.
ValueErrorIf no categories.xml file in MFF directory specified by fname.
See also
Notes
New in version 0.22.