Skip to main content

Glossary

A reference of key terms, abbreviations, and concepts used throughout the MNE-CPP documentation.

General Concepts

TermDefinition
BEMBoundary-Element Model. A numerical method for computing the forward solution by discretizing the boundaries between tissue compartments of different electrical conductivity (scalp, skull, brain).
CMNEContextual Minimum-Norm Estimate. A deep-learning-based inverse method that uses an LSTM network to incorporate temporal context from preceding time samples. Training in Python (PyTorch), inference via ONNX Runtime in C++.
CoregistrationThe process of aligning the MEG/EEG head coordinate system with the MRI coordinate system using fiducial landmarks. Stored in a -trans.fif file.
DICSDynamic Imaging of Coherent Sources. A frequency-domain beamformer that estimates source power and coherence using the cross-spectral density matrix.
dSPMDynamic Statistical Parametric Mapping. A noise-normalized variant of the minimum-norm estimate that produces statistical maps (F-statistic) rather than current amplitudes.
ECDEquivalent Current Dipole. A point-source model used in dipole fitting to localize focal brain activity.
eLORETAExact Low-Resolution Electromagnetic Tomography. A distributed source localization method with exact zero localization error for single-dipole sources.
Evoked responseThe averaged brain response time-locked to a stimulus event. Also called event-related field (ERF) for MEG and event-related potential (ERP) for EEG.
Forward solutionThe theoretical prediction of the magnetic fields and electric potentials at the sensor locations given a set of source dipoles in the brain.
Gamma-MAPGamma Maximum a Posteriori. A sparse Bayesian inverse method using an EM algorithm with a Gamma hyperprior on source variances to promote focal source distributions.
Inverse operatorA matrix that maps measured sensor data to estimated source activity on the cortex or in a volume. Computed from the forward solution and noise-covariance matrix.
LCMVLinearly Constrained Minimum Variance beamformer. A spatial filter that passes signals from a target location while minimizing output power from other sources.
MNAMNE Node-graph for Analysis. A portable project file format (.mna JSON / .mnx CBOR) that bundles data references, processing parameters, and an executable computational graph into a single manifest. See MNA Format.
MNEMinimum-Norm Estimate. A distributed source localization method that finds the source distribution with minimum overall power that explains the measured data.
MorphingThe process of mapping source estimates from one subject's cortical surface to another (e.g., fsaverage) for group analysis.
MxNEMixed-Norm Estimate. A sparse inverse method using L1/L2 mixed norms (group lasso) to find focal sources via iteratively reweighted least squares (IRLS).
Noise-covariance matrixA matrix characterizing the spatial noise statistics of the sensor data. Used to weight channels appropriately in the inverse solution.
ONNXOpen Neural Network Exchange. An open format for machine learning models. MNE-CPP uses ONNX Runtime for CMNE inference, loading pre-trained LSTM models for source estimation.
RAP MUSICRecursively Applied and Projected Multiple Signal Classification. A subspace method for localizing multiple correlated sources by iteratively scanning, finding peaks, and projecting out found sources.
RegularizationA mathematical technique to stabilize the ill-posed inverse problem by trading off data fit against solution smoothness. Controlled by the regularization parameter (related to assumed SNR).
sLORETAStandardized Low-Resolution Electromagnetic Tomography. A noise-normalized variant of the minimum-norm estimate with near-zero localization bias for point spread.
SNRSignal-to-Noise Ratio. In MNE, the assumed SNR controls the regularization parameter λ2=1/SNR2\lambda^2 = 1 / \text{SNR}^2.
SPHARASpatial Harmonic Analysis. Spatial basis functions computed from the sensor geometry for noise reduction, similar to spatial frequency filtering.
Source spaceThe set of candidate dipole locations (and orientations) on the cortical surface or in a volume where source currents are estimated.
SSPSignal-Space Projection. A method for removing environmental noise and artifacts by projecting data away from known noise subspaces. See Signal-Space Projection.
SSS/tSSSSignal Space Separation / temporal SSS. Methods for removing external interference from MEG data by decomposing the measured field into internal and external multipole components.
xDAWNA supervised spatial filter designed to enhance event-related potentials by maximizing the signal-to-signal-plus-noise ratio. Used in BCI and ERP denoising.

MEG/EEG Systems and Sensors

TermDefinition
CTFA MEG system manufacturer. CTF systems use axial gradiometers and software gradient compensation with reference channels. Uses a different head coordinate convention than Neuromag.
EEGElectroencephalography. Measures electrical potentials on the scalp using electrode caps.
GradiometerA MEG sensor that measures the spatial gradient of the magnetic field. Planar gradiometers measure the gradient tangential to the helmet surface; axial gradiometers measure the radial gradient.
KITA 160-channel MEG system (also known as Yokogawa). Data can be imported with mne_kit2fiff.
MagnetometerA MEG sensor that measures the absolute magnetic field strength at a single point. More sensitive to deep and distant sources than gradiometers, but also more sensitive to environmental noise.
MEGMagnetoencephalography. Measures the magnetic fields produced by neuronal currents using superconducting sensors (SQUIDs) in a magnetically shielded room.
Neuromag / VectorviewA 306-channel MEG system (Elekta / MEGIN) with 102 sensor triplets, each containing one magnetometer and two planar gradiometers. The MNE head coordinate convention originates from this system.
SQUIDSuperconducting Quantum Interference Device. The ultra-sensitive magnetic sensor used in MEG systems, operating at liquid helium temperatures.

Channel Types

Type AbbreviationFull NameUnitDescription
MEG (mag)MagnetometerT (Tesla)Measures absolute magnetic field
MEG (grad)Planar gradiometerT/mMeasures tangential field gradient
EEGElectroencephalographyV (Volt)Scalp electrical potential
EOGElectrooculographyVEye movement channels
ECGElectrocardiographyVHeart activity channel
EMGElectromyographyVMuscle activity channels
STIStimulus / TriggerDigital trigger channel (e.g., STI 014)
MISCMiscellaneousUnclassified or auxiliary channels
REFReferenceTReference magnetometer channels (used in software gradient compensation)

Coordinate Systems

Coordinate SystemDescription
Head coordinatesDefined by three fiducial landmarks: nasion (N), left auricular point (LAP), and right auricular point (RAP). Origin midway between LAP and RAP; x-axis toward nasion; y-axis toward LAP; z-axis upward. See Forward Solution — Coordinate Systems.
Device coordinatesThe MEG sensor coordinate system, defined by the MEG instrument. Relationship to head coordinates established via head position indicator (HPI) coils.
MRI (Surface RAS)FreeSurfer surface coordinates. Origin at the center of the MRI volume; axes aligned with anatomical directions (Right, Anterior, Superior).
MNI TalairachA standardized brain coordinate system based on the MNI152 template. Used for reporting source locations across subjects.
FreeSurfer TalairachFreeSurfer's own Talairach transformation, which differs slightly from the MNI Talairach.

For details on coordinate transformations (TT^-, T+T^+, T1T_1T4T_4), see Forward Solution.

File Formats and Extensions

ExtensionFormatDescription
.fifFIFFFunctional Imaging File Format. The native binary format for all MNE data. See FIFF Format.
-raw.fifFIFFRaw continuous MEG/EEG data
-ave.fifFIFFAveraged evoked response data
-cov.fifFIFFNoise-covariance matrix
-fwd.fifFIFFForward solution
-inv.fifFIFFInverse operator decomposition
-src.fifFIFFSource space description
-bem.fifFIFFBEM geometry
-bem-sol.fifFIFFBEM solution (precomputed geometry matrices)
-trans.fifFIFFCoordinate transformation (head-to-MRI)
-sol.fifFIFFBEM solution matrix
.stcSTCSource Time Course. Binary file with source amplitudes over time for one hemisphere.
.wW fileA single time-point snapshot of source amplitudes for one hemisphere.
.labelLabelFreeSurfer label file defining a region of interest (ROI) on the cortical surface.
.annotAnnotationFreeSurfer cortical parcellation (atlas) file.
.surfSurfaceFreeSurfer binary surface file (vertices + triangles).
.mgh / .mgzMRI volumeFreeSurfer MRI volume format (uncompressed / compressed).
.hptsHead pointsText file with digitization point coordinates. See Data Conversion — hpts format.
.mnaMNA (JSON)MNE analysis project file — data references, parameters, and executable graph. See MNA Format.
.mnxMNA (CBOR)Binary MNA project file in CBOR encoding. Same schema as .mna but more compact. Can also serve as a container file that encapsulates linked data files (raw, evoked, forward solutions, etc.) into a single self-contained archive.
.onnxONNXOpen Neural Network Exchange model file. Used for CMNE LSTM inference.

Environment Variables

VariablePurpose
SUBJECTS_DIRDirectory containing FreeSurfer subject directories with anatomical MRI data.
SUBJECTName of the current subject's directory under SUBJECTS_DIR.
FREESURFER_HOMERoot directory of the FreeSurfer installation.
MNE_ROOTRoot directory of the MNE-C software installation.
MNE_TRIGGER_CH_NAMEOverride the default trigger channel name (default: STI 014).
MNE_TRIGGER_CH_MASKBit mask applied to the trigger channel (useful for BDF files: 0xff).

Rejection Thresholds

Default units for artifact rejection thresholds used in epoching:

Channel typeUnitTypical threshold
GradiometerT/m2000e-13 – 4000e-13
MagnetometerT4e-12 – 6e-12
EEGV100e-6 – 200e-6
EOGV150e-6 – 250e-6

See Also