Difference between revisions of "Suggested Pipelines"

From MEG Core
Jump to navigation Jump to search
Line 67: Line 67:
   
 
==Basic Task Based MEG Pipeline==
 
==Basic Task Based MEG Pipeline==
  +
  +
subgraph MEG PreProcessing
  +
MEG["MEG Data"] --> Filtering;
  +
Filtering --> Art["Artifact Removal"];
  +
end
  +
  +
subgraph ADC PreProcessing
  +
ADC["ADC/Trigger Channels"] --> thresholdDetect
  +
thresholdDetect --> add_markers
  +
end
  +
  +
subgraph SAM PreProcessing
  +
sam_cov --> sam_wts
  +
style sam_cov fill:#fcf
  +
style sam_wts fill:#fcf
  +
click sam_cov "https://megcore.nih.gov/index.php/Sam_cov" "sam_cov documentation"
  +
click sam_wts "https://megcore.nih.gov/index.php/Sam_wts" "sam_wts documentation"
  +
end
  +
}}
  +
  +
  +
  +
  +
  +
   
 
{{#mermaid:graph LR
 
{{#mermaid:graph LR

Revision as of 13:57, 20 March 2019

Master Pipeline

Basic MRI Pre-Processing Workflow

For any experiment where you wish to localize data to the brain, the first step is MRI pre-processing. First, MEG data must be co-registered to the space of the MRI, either by manually placing fiducial points on the MRI, or through a semi-automated method where a digital head shape is aligned with a head surface. (Other algorithmic techniques are possible, these will be discussed later). For the purpose of source space reconstruction, the head can be modeled either as a collection of spheres, one per channel, (MultiSphere) or in a realistic fashion using the Nolte model.

Basic Resting State MEG processing

Basic preprocessing of resting state MEG data includes filtering, and possibly artifact removal. Removing artifacts could consist of eliminating bad segments, or a more comprehensive process like ICA. When examining resting state data, the end goals is usually to examine either static measures of power, or connectivity. For connectivity, the output of SAM is a continuous time series, usually the Hilbert envelope of a band limited signal. Following calculation of this time series, other routines (such as ICA, seed based correlation, etc.) can be used to derive connectivity between regions.

Basic Task Based MEG Pipeline

subgraph MEG PreProcessing

 MEG["MEG Data"] --> Filtering;
 Filtering --> Art["Artifact Removal"];

end

subgraph ADC PreProcessing

 ADC["ADC/Trigger Channels"] --> thresholdDetect
 thresholdDetect --> add_markers

end

subgraph SAM PreProcessing

 sam_cov --> sam_wts
 style sam_cov fill:#fcf
 style sam_wts fill:#fcf
 click sam_cov "https://megcore.nih.gov/index.php/Sam_cov" "sam_cov documentation"
 click sam_wts "https://megcore.nih.gov/index.php/Sam_wts" "sam_wts documentation"

end }}




  1. Create covariance matrices using sam_cov.
  2. Compute beamformer weights with sam_wts.
  3. sam_3d uses the weights to compute volumetric images of activity estimates.
  4. View them with AFNI.
  5. It didn't work, go back and try again.
  6. Nope, still didn't work, try this instead.