Software and Resources for Experiments and Data Analysis

Lau Møller Andersen*

*Corresponding author for this work

Research output: Contribution to book/anthology/report/proceedingBook chapterResearchpeer-review


Data from magnetoencephalography (MEG) and electroencephalography (EEG) is extremely rich and multifaceted. For example, in a standard MEG recording with 306 sensors and a sampling rate of 1000 Hz, 306,000 data points are sampled every second. To be able to answer the question, that the data was acquired to answer thus necessitates efficient data handling. Luckily, several software packages have been developed for handling MEG and/or EEG data, to name some of the most popular: MNE-Python, FieldTrip, Brainstorm, EEGLAB, and SPM. These are all available under a public domain license, meaning that they can be run, shared, and modified by anyone. Commercial software released under proprietary licenses include BESA ( ) and CURRY ( ). It is important to be aware that for the clinical diagnosis of, for example, epilepsy, certified software, such as BESA and CURRY, is required; FieldTrip, MNE-Python, Brainstorm, EEGLAB, and SPM, for example, cannot be used for clinical diagnosis. In this chapter, the emphasis will be on MNE-Python and FieldTrip. This will allow users of both Python ( ) and MATLAB ( ) or alternatively GNU Octave ( ) to code along as the chapter unfolds, as a general remark, all that MNE-Python can do, FieldTrip can do, and vice versa – though with some small difference. A full analysis going from raw data to a source reconstruction will be presented, illustrated with both code and figures. Before going to the software, however, some general remarks about single-subject analysis and group analysis together with a short recapitulation of MEG and EEG sensor space and source space are in place.

Original languageEnglish
Title of host publicationLanguage Electrified
Number of pages58
Place of publicationNew York
PublisherHumana Press
Publication date2023
ISBN (Print)978-1-0716-3262-8
ISBN (Electronic)978-1-0716-3263-5
Publication statusPublished - 2023


  • Data analysis
  • Electroencephalography
  • Magnetoencephalography
  • Software
  • Tutorial


Dive into the research topics of 'Software and Resources for Experiments and Data Analysis'. Together they form a unique fingerprint.

Cite this