= 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]].<<BR>>To get a quick overview of the software interface, you can watch this [[Screenshots|introduction video]].<<BR>><<HTML(<FONT color="#C0C0C0" >)>>If you are looking for the old tutorials, they are still available [[TutorialsOld|here]]. <<HTML(</FONT>)>>

== Get started ==
The easiest way to get started with Brainstorm is to read and follow carefully these introduction tutorials. The number between brackets represents the number of printed pages for each tutorial. All in [[Tutorials/AllIntroduction|one page]]. <<BR>>Some sections are still being edited or under review: [[Tutorials/Review|Editing process]].

<<HTML(<TABLE class="tuto-table"><TR><TD width=350>)>>

'''Starting a new study'''

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>1. [[Tutorials/CreateProtocol|Create a new protocol]] <<HTML(<FONT color="#DDDDDD">)>>[9] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>2. [[Tutorials/ImportAnatomy|Import the subject anatomy]] <<HTML(<FONT color="#DDDDDD">)>>[8] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>3. [[Tutorials/ExploreAnatomy|Explore the anatomy]] <<HTML(<FONT color="#DDDDDD">)>>[13] <<HTML(</FONT>)>>

'''Reviewing'''

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>4. [[Tutorials/ChannelFile|Channel file / MRI registration]]  <<HTML(<FONT color="#DDDDDD">)>>[11] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>5. [[Tutorials/ReviewRaw|Continuous recordings]]  <<HTML(<FONT color="#DDDDDD">)>>[9] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>6. [[Tutorials/MultipleWindows|Multiple windows]] <<HTML(<FONT color="#DDDDDD">)>>[5] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>7. [[Tutorials/EventMarkers|Event markers]] <<HTML(<FONT color="#DDDDDD">)>>[10] <<HTML(</FONT>)>>

'''Pre-processing'''

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>8. [[Tutorials/StimDelays|Stimulation delays]] <<HTML(<FONT color="#DDDDDD">)>>[9] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>9. [[Tutorials/PipelineEditor|Select files / Run processes]] <<HTML(<FONT color="#DDDDDD">)>>[11] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>10. [[Tutorials/ArtifactsFilter|Power spectrum / Frequency filters]] <<HTML(<FONT color="#DDDDDD">)>>[15] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>11. [[Tutorials/BadChannels|Bad channels]] <<HTML(<FONT color="#DDDDDD">)>>[6] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>12. [[Tutorials/ArtifactsDetect|Artifact detection]] <<HTML(<FONT color="#DDDDDD">)>>[8] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>13.  [[Tutorials/ArtifactsSsp|Artifact cleaning with SSP]] <<HTML(<FONT color="#DDDDDD">)>>[16] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>14.  [[Tutorials/BadSegments|Additional bad segments]] <<HTML(<FONT color="#DDDDDD">)>>[7] <<HTML(</FONT>)>>

<<HTML(</TD><TD>)>>

'''Epoching and averaging'''

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>15. [[Tutorials/Epoching|Import epochs]] <<HTML(<FONT color="#DDDDDD">)>>[9] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>16. [[Tutorials/Averaging|Average response]] <<HTML(<FONT color="#DDDDDD">)>>[7] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>17. [[Tutorials/ExploreRecordings|Visual exploration]] <<HTML(<FONT color="#DDDDDD">)>>[10] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>18. [[Tutorials/Colormaps|Colormaps]] <<HTML(<FONT color="#DDDDDD">)>>[5] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>19. [[Tutorials/ChannelClusters|Clusters of sensors]] <<HTML(<FONT color="#DDDDDD">)>>[4] <<HTML(</FONT>)>>

'''Source modeling'''

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>20. [[Tutorials/HeadModel|Head model]] <<HTML(<FONT color="#DDDDDD">)>>[9] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>21. [[Tutorials/NoiseCovariance|Noise/data covariance]] <<HTML(<FONT color="#DDDDDD">)>>[7] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>22. [[Tutorials/SourceEstimation|Source estimation]] <<HTML(<FONT color="#DDDDDD">)>>[28] <<HTML(</FONT>)>> [TODO]

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>23. [[Tutorials/Scouts|Scouts]] <<HTML(<FONT color="#DDDDDD">)>>[17] <<HTML(</FONT>)>>

'''Advanced processing'''

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>24. [[Tutorials/TimeFrequency|Time-frequency]] <<HTML(<FONT color="#DDDDDD">)>>[33] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>25. [[Tutorials/Difference|Difference]] <<HTML(<FONT color="#DDDDDD">)>>[13] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>26. [[Tutorials/Statistics|Statistics]] <<HTML(<FONT color="#DDDDDD">)>>[30] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>27. [[Tutorials/Workflows|Workflows]] <<HTML(<FONT color="#DDDDDD">)>>[10] <<HTML(</FONT>)>>

<<HTML(&nbsp;&nbsp;&nbsp;&nbsp;)>>28. [[Tutorials/Scripting|Scripting]] <<HTML(<FONT color="#DDDDDD">)>>[31] <<HTML(</FONT>)>>

<<HTML(</TD></TR></TABLE>)>>

== Other analysis scenarios ==
<<HTML(<TABLE class="tuto-table"><TR><TD width=350>)>>

 * [[Tutorials/Epilepsy|EEG and epilepsy]]
 * [[Tutorials/VisualSingle|MEG visual: single subject (Elekta)]]
 * [[Tutorials/VisualGroup|MEG visual: group study (Elekta)]]
 * [[Tutorials/PhantomCtf|MEG current phantom (CTF)]]
 * [[Tutorials/PhantomElekta|MEG current phantom (Elekta)]]
 * [[Tutorials/NIRSFingerTapping|NIRS finger tapping]]     [TODO]

<<HTML(</TD><TD>)>>

 * [[Tutorials/TutMindNeuromag|MEG median nerve (Elekta)]]
 * [[Tutorials/Yokogawa|MEG median nerve (Yokogawa)]]     [TODO]
 * [[Tutorials/MedianNerveCtf|MEG median nerve (CTF)]]   [TODO]
 * [[Tutorials/Auditory|MEG auditory (CTF)]]     [TODO]
 * [[Tutorials/Resting|MEG resting state / PAC (CTF)]]   [TODO]

<<HTML(</TD></TR></TABLE>)>>

== Advanced tutorials ==
<<HTML(<TABLE class="tuto-table"><TR><TD width=350>)>>

'''Anatomy and registration'''

 * [[CoordinateSystems|Brainstorm coordinate systems]]
 * [[Tutorials/LabelFreeSurfer|FreeSurfer]], [[Tutorials/SegBrainSuite|BrainSuite]], [[Tutorials/SegBrainVisa|BrainVISA]], [[Tutorials/SegCIVET|CIVET]]
 * [[Tutorials/DefaultAnatomy|Using the anatomy templates]]
 * [[Tutorials/CoregisterSubjects|Group analysis: Subjects coregistration]]
 * [[Tutorials/TutWarping|Warping default anatomy]]
 * [[Tutorials/TutDigitize|Digitize EEG electrodes and head shape]]
 * [[Tutorials/TutRealtime|Real-time head positioning in the CTF MEG]]

'''Recordings'''

 * [[Tutorials/MontageEditor|Montage editor]]   [TODO]
 * [[Tutorials/SSPCookbook|More SSP examples]]
 * [[http://neuroimage.usc.edu/brainstorm/Tutorials/MovementDetect|Detect subject movements]]
 * [[http://neuroimage.usc.edu/brainstorm/Tutorials/TutRealtime|Real-time head-tracking]]
 * [[Tutorials/EyetrackSynchro|Synchronization with eye tracker]]

'''Software'''

 * [[CiteBrainstorm|How to cite Brainstorm]] [TODO]
 * [[Tutorials/KnownBugs|Known bugs]]

<<HTML(</TD><TD>)>>

'''Advanced processing'''

 * [[Tutorials/TutUserProcess|How to write your own process]] [TODO]
 * [[Tutorials/Decoding|Decoding conditions (MVPA)]]
 * [[Tutorials/MicrostatesCena|Microstate segmentation with CENA]]
 * [[Tutorials/TutPac|Phase-amplitude coupling]]
 * [[Tutorials/Connectivity|Functional connectivity]] [TODO]
 * [[ExportSpm8|Export volume sources to SPM8/SPM12]]
 * [[ExportSpm12|Export surface sources to SPM12]]

'''Source modeling'''

 * [[Tutorials/TutBem|BEM with OpenMEEG]]
 * [[Tutorials/TutVolSource|Volume source estimation]]
 * [[http://neuroimage.usc.edu/brainstorm/Tutorials/DeepAtlas|Deep cerebral structures]] [TODO]
 * [[Tutorials/TutDipScan|Dipoles: Scanning and importing]] [TODO]
 * [[Tutorials/DipoleFitting|Dipoles: FieldTrip dipole fitting]]
 * [[Tutorials/Beamformers|Beamforming methods]] [TODO]
 * [[Tutorials/TutBEst|Maximum entropy on the mean (MEM)]]

<<HTML(</TD></TR><TR><TD colspan=2>)>>

<<HTML(</TD></TR></TABLE>)>>

== Background readings ==
These  tutorial pages suppose you are comfortable with the basic concepts of  MEG and EEG source imaging. If you're not, we engage you to read some  background information, which will quickly help you getting up to speed  with this field:

 * [[http://www.canada-meg-consortium.org/EN/MegIntro|Canada MEG consortium: Basics of MEG]]<<BR>>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]]<<BR>>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]]<<BR>>Editors: J Decety, JT Cacioppo, ''Oxford University Press'', 2011, 1128 pages<<BR>>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.

 * Slides from a selection of educational courses: [[http://megcommunity.org/index.php?option=com_content&view=article&id=27&Itemid=13|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! ''

<<BR>><<BR>><<BR>><<BR>><<BR>>