Skip to main content

mne_fix_stim14

Overview​

mne_fix_stim14 recomputes the STI 014 stimulus channel by combining channels STI 001 through STI 006 using binary weighting. This is needed when the combined stimulus channel was not properly recorded or has become corrupted.

The formula is:

STI014 = STI001 + 2×STI002 + 4×STI003 + 8×STI004 + 16×STI005 + 32×STI006

This is a C++ port of the original MNE-C tool by Matti Hämäläinen.

Usage​

mne_fix_stim14 [options]

Options​

OptionDescription
--raw <file>Input raw FIFF file
--out <file>Output FIFF file
--helpPrint help
--versionPrint version

Example​

mne_fix_stim14 --raw sam-raw.fif --out sam-fixed-raw.fif

See Also​