= Tutorials = These tutorial pages suppose you are comfortable with the basic concepts of MEG/EEG analysis and source imaging. If you're not, we encourage you to read some [[http://neuroimage.usc.edu/brainstorm/Tutorials#Background_readings|background literature]].<
>To get a quick overview of the software interface, you can watch this [[Screenshots|introduction video]]. == Get started == The easiest way to get started with Brainstorm is to read and follow carefully these introduction tutorials. They can be separately consulted (links below), or all in [[Tutorials/AllIntroduction|one page]]. <)>> '''Starting a new study''' <>1. [[Tutorials/CreateProtocol|Create a new protocol]] <)>> <)>> <>2. [[Tutorials/ImportAnatomy|Import the subject anatomy]] <)>> <)>> <>3. [[Tutorials/ExploreAnatomy|Explore the anatomy]] <)>> <)>> '''Reviewing''' <>4. [[Tutorials/ChannelFile|Channel file / MRI registration]] <)>> <)>> <>5. [[Tutorials/ReviewRaw|Continuous recordings]] <)>> <)>> <>6. [[Tutorials/MultipleWindows|Multiple windows]] <)>> <)>> <>7. [[Tutorials/EventMarkers|Event markers]] <)>> <)>> '''Pre-processing''' <>8. [[Tutorials/StimDelays|Stimulation delays]] <)>> <)>> <>9. [[Tutorials/PipelineEditor|Select files / Run processes]] <)>> <)>> <>10. [[Tutorials/ArtifactsFilter|Power spectrum / Frequency filters]] <)>> <)>> <>11. [[Tutorials/BadChannels|Bad channels]] <)>> <)>> <>12. [[Tutorials/ArtifactsDetect|Artifact detection]] <)>> <)>> <>13. [[Tutorials/ArtifactsSsp|Artifact cleaning with SSP]] <)>> <)>> <>14. [[Tutorials/BadSegments|Additional bad segments]] <)>> <)>> <)>> '''Epoching and averaging''' <>15. [[Tutorials/Epoching|Import epochs]] <)>> <)>> <>16. [[Tutorials/Averaging|Average response]] <)>> <)>> <>17. [[Tutorials/ExploreRecordings|Visual exploration]] <)>> <)>> <>18. [[Tutorials/Colormaps|Colormaps]] <)>> <)>> <>19. [[Tutorials/ChannelClusters|Clusters of sensors]] <)>> <)>> '''Source modeling''' <>20. [[Tutorials/HeadModel|Head model]] <)>> <)>> <>21. [[Tutorials/NoiseCovariance|Noise/data covariance]] <)>> <)>> <>22. [[Tutorials/SourceEstimation|Source estimation]] <)>> <)>> <>23. [[Tutorials/Scouts|Scouts]] <)>> <)>> '''Advanced processes''' <>24. [[Tutorials/TimeFrequency|Time-frequency]] <)>> <)>> <>25. [[Tutorials/Difference|Difference]] <)>> <)>> <>26. [[Tutorials/Statistics|Statistics]] <)>> <)>> <>27. [[Tutorials/Workflows|Workflows]] <)>> <)>> <>28. [[Tutorials/Scripting|Scripting]] <)>> <)>> <)>> == Other analysis scenarios == <)>> * [[Tutorials/Epilepsy|EEG and epilepsy]] * [[Tutorials/IeegContactLocalization|iEEG Contact Localization (UNDER CONSTRUCTION)]] * [[Tutorials/Epileptogenicity|SEEG epileptogenicity maps]] * [[https://neuroimage.usc.edu/brainstorm/Tutorials/ECoG|ECoG+sEEG epilepsy (BIDS)]] * [[Tutorials/VisualSingle|MEG visual: single subject (Elekta/BIDS)]] * [[Tutorials/VisualGroup|MEG visual: group study (Elekta/BIDS)]] * [[Tutorials/PhantomCtf|MEG current phantom (CTF)]] * [[Tutorials/PhantomElekta|MEG current phantom (Elekta)]] <)>> * [[Tutorials/RestingOmega|MEG resting state & OMEGA database (CTF)]] * [[https://neuroimage.usc.edu/brainstorm/Tutorials/CorticomuscularCoherence|MEG corticomuscular coherence (CTF)]] * [[Tutorials/HCP-MEG|MEG Human Connectome Project (4D)]] * [[Tutorials/TutMindNeuromag|MEG median nerve (Elekta)]] * [[Tutorials/Yokogawa|MEG median nerve (Yokogawa)]] * [[Tutorials/MedianNerveCtf|MEG median nerve (CTF)]] * [[Tutorials/NIRSFingerTapping|NIRS finger tapping]] <)>> == Advanced tutorials == <)>> '''Anatomy and registration''' * [[CoordinateSystems|Brainstorm coordinate systems]] * MRI segmentation: [[https://neuroimage.usc.edu/brainstorm/Tutorials/SegCAT12|CAT12]], [[Tutorials/LabelFreeSurfer|FreeSurfer]], <
>[[Tutorials/SegBrainSuite|BrainSuite]], [[Tutorials/SegBrainVisa|BrainVISA]], [[Tutorials/SegFastSurfer|FastSurfer]], [[Tutorials/SegCIVET|CIVET]] * [[Tutorials/DefaultAnatomy|Using the anatomy templates]] * [[Tutorials/TutWarping|Warping the anatomy templates]] * [[Tutorials/CoregisterSubjects|Group analysis: Subjects coregistration]] * [[Tutorials/TutDigitize|Digitize EEG electrodes and head shape]] * [[Tutorials/TutRealtime|Real-time head positioning (CTF MEG)]] * [[Tutorials/HeadMotion|Head motion detection (MEG)]] '''Recordings''' * [[Tutorials/MontageEditor|Montage editor]] * [[https://neuroimage.usc.edu/brainstorm/Tutorials/Epilepsy#Artifact_cleaning_with_ICA|ICA analysis]] * [[Tutorials/SSPCookbook|SSP cookbook]] * [[http://neuroimage.usc.edu/brainstorm/Tutorials/MovementDetect|Detect subject movements]] * [[Tutorials/EyetrackSynchro|Synchronization with eye tracker]] '''Scripting''' * [[Tutorials/TutUserProcess|How to write your own process]] * [[ExportSpm8|Export volume sources to SPM8/SPM12]] * [[ExportSpm12|Export surface sources to SPM12]] * [[ExportBids|Export raw data to BIDS format]] '''Software''' * [[Tutorials/Plugins|Plugins]] * [[MnePython|MNE-Python]] * [[CiteBrainstorm|How to cite Brainstorm]] * [[Tutorials/KnownBugs|Known bugs]] * [[Tutorials/Plotly|Export figures to Plotly]] <)>> '''Source modeling''' * [[Tutorials/TutVolSource|Volume source estimation]] * [[http://neuroimage.usc.edu/brainstorm/Tutorials/DeepAtlas|Deep cerebral structures]] * [[Tutorials/TutBem|Realistic head model: BEM with OpenMEEG]] * [[Tutorials/TutDipScan|Dipoles: Scanning and displaying]] * [[Tutorials/DipoleFitting|Dipoles: FieldTrip dipole fitting]] * [[Tutorials/TutBEst|Maximum entropy on the mean (MEM)]] * [[Tutorials/Beamformers|Other beamforming methods]] * [[Tutorials/Simulations|Simulations]] '''Finite Element Modeling''' * [[Tutorials/Duneuro|Realistic head model: FEM with DUNEuro]] * [[Tutorials/FemMesh|FEM mesh generation]] * [[Tutorials/FemTensors|FEM tensors estimation]] * [[Tutorials/FemMedianNerveCharm|FEM median nerve example]] '''Signal processing''' * [[Tutorials/Decoding|Machine learning: Decoding / MVPA]] * [[Tutorials/TutPac|Phase-amplitude coupling: Method]] * [[Tutorials/Resting|Phase-amplitude coupling: Example]] * [[Tutorials/PLS|Partial Least Squares (PLS)]] * [[Tutorials/EZFingerprint|Epileptogenic Zone Fingerprint]] * [[https://neuroimage.usc.edu/brainstorm/Tutorials/Fooof|FOOOF: Fitting Oscillations & One-Over-F]] * [[https://neuroimage.usc.edu/brainstorm/Tutorials/SPRiNT|SPRiNT: Spectral Param. Resolved in Time]] '''Connectivity''' * [[Tutorials/Connectivity|Functional connectivity]] * [[https://neuroimage.usc.edu/brainstorm/Tutorials/CorticomuscularCoherence|Corticomuscular coherence]] * [[https://neuroimage.usc.edu/brainstorm/Tutorials/ConnectivityGraph|Connectivity graphs]] * [[Tutorials/FiberConnectivity|Virtual fibers for connectivity]] * [[https://neuroimage.usc.edu/brainstorm/GrangerCausality|Granger causality]] <)>> == Single/Multi-Unit Electrophysiology == Learn how to use Brainstorm for analyzing single/multi-unit electrophysiological data in a variety of preparations: <)>> * [[https://neuroimage.usc.edu/brainstorm/e-phys/Introduction|Importing raw e-phys data]] * [[https://neuroimage.usc.edu/brainstorm/e-phys/SpikeSorting|Spike-sorting]] * [[https://neuroimage.usc.edu/brainstorm/e-phys/ConvertToBrainstormEvents|Using external spike-sorters]] * [[https://neuroimage.usc.edu/brainstorm/e-phys/RawToLFP|Converting raw data to LFP]] <)>> * [[https://neuroimage.usc.edu/brainstorm/e-phys/functions|Tuning curves]] * [[https://neuroimage.usc.edu/brainstorm/e-phys/functions#Noise_correlation|Noise correlation]] * [[https://neuroimage.usc.edu/brainstorm/e-phys/functions#Spike_field_coherence|Spike field coherence]] * [[https://neuroimage.usc.edu/brainstorm/e-phys/functions#Raster_plots|Raster plots]] * [[https://neuroimage.usc.edu/brainstorm/e-phys/functions#Spike_triggered_average|Spike triggered average]] <)>> == Background readings == These tutorial pages suppose you are comfortable with the basic concepts of MEG and EEG source imaging. If you're not, we encourage you to read some background information, which will quickly help you getting up to speed with this field: * [[http://rdcu.be/pydB|MEG for Human Electrophysiology and Imaging]] (Baillet S, Nature Neuroscience, 2017) * [[https://doi.org/10.1016/j.neuroimage.2021.118788|Connectomics of Human Electrophysiology]] (Sadaghiani S, Brookes M, Baillet S, Neuroimage, 2022) * [[https://www.mcw.edu/Magnetoencephalography-Program-MEG/About-MEG.htm|Introduction to MEG (Medical College of Wisconsin)]] <
>A non-technical overview of MEG and EEG, with an emphasis on source modeling. * [[http://www.amazon.com/MEG-Introduction-Methods-Peter-Hansen/dp/0195307232/ref=sr_1_1?ie=UTF8&qid=1324419425&sr=8-1|MEG: An Introduction to Methods]]<
>Editors: P Hansen, M Kringelbach, R Salmelin, ''Oxford University Press'', 2010, 448 pages. * [[http://www.amazon.com/Oxford-Handbook-Neuroscience-Library-Psychology/dp/019534216X/ref=sr_1_3?s=books&ie=UTF8&qid=1324419480&sr=1-3|The Oxford Handbook of Social Neuroscience]]<
>Editors: J Decety, JT Cacioppo, ''Oxford University Press'', 2011, 1128 pages<
>A draft version of the MEG chapter by Sylvain Baillet can be found [[http://neuroimage.usc.edu/paperspdf/baillet_draft_2011.pdf|here]].'' '' * [[http://www.ncbi.nlm.nih.gov/pubmed/23046981|Good practice for conducting and reporting MEG research]], Gross et al, Neuroimage, 2013. * [[https://mitpress.mit.edu/books/matlab-brain-and-cognitive-scientists|MATLAB for Brain and Cognitive Scientists]], Mike X Cohen, MIT press, 2017 * Slides from a selection of educational courses: [[http://megcommunity.org/education/teaching-slides|megcommunity.org]] * We can also come and organize a [[Training|training session]] at your institution, or [[http://www.bic.mni.mcgill.ca/ResearchLabsNeuroSPEED/HomePage|visit us]] at the MNI. Now you are well equipped to go through the software tutorial, '' Enjoy! '' <
><
><
><
><
>