**VirtEl - Software for Magnetic Encephalography Data Analysis by the Method of Virtual Electrodes**
**Rykunov S.D.**^{1}, Rykunova E.D.^{1, 2}, Boyko A.I.^{1}, Ustinin M.N.^{1}
^{1}*Keldysh Institute of Applied Mathematics RAS, Moscow, Russian Federation*

^{2}*Moscow Institute of Physics and Technology (State University), Dolgoprudny, Russian Federation*

**Abstract**. A new method of analyzing magnetic encephalography data, the virtual electrode method, was developed. According to magnetic encephalography data, a functional tomogram is constructed — the spatial distribution of field sources on a discrete grid. A functional tomogram displays on the head space the information contained in the multichannel time series of an encephalogram. This is achieved by solving the inverse problem for all elementary oscillations extracted using the Fourier transform. Each oscillation frequency corresponds to a three-dimensional grid node in which the source is located. The user sets the location, size and shape of the brain area for a detailed study of the frequency structure of a functional tomogram - a virtual electrode. The set of oscillations that fall into a given region represents the partial spectrum of this region. The time series of the encephalogram measured by the virtual electrode is restored using this spectrum. The method was applied to the analysis of magnetic encephalography data in two variations - a virtual electrode of a large radius and a point virtual electrode.

**Key words**: *magnetic encephalography, Fourier transform, functional tomogram, magnetic-resonance image, virtual electrode*.