= Volume source estimation = The head models computed with Brainstorm were until now limited to the cortex surface. This choice was following the assumption that most of the magnetic and electric activity that we record outside of the head comes from the cortex. It is a serious limitiation for users who want to study some deeper regions and use their own source spaces. To extend the range of analysis possible with Brainstorm, we have added the possibility to construct dipole grids that sample the full brain volume, and the appropriate visualization tools. == Compute a volume head model == 1. Select the protocol TutorialCTF. Go to the view "Functional data (sorted by subjects)" 1. Right-click on Subject01 / Right > Compute head model. Select the source space to '''MRI volume'''. Select ''Overlapping spheres'' method. Click on Run.<
><
> {{attachment:headmodeler.gif}} {{attachment:gridOptions.gif}} 1. When the option "'''Generate from cortex surface'''" is selected, a grid that samples the head model in an adaptative way (denser at the superficy, sparse at the center of the brain). This grid is created with following algorithm: * Start with a version of the brain envelope that has a given number of vertices (option '''Initial number of vertices''') * Shrink the previous layer, and downsample it by a given factor (option '''Downsampling factor''') * Repeat this operation ['''Number of layers'''] times, or until there are no more vertices on the downsampled layer * For each combination of parameters, you can see total number of vertices in the source grid at the bottom of the option window. * Click on '''Preview''' to see the grid of dipoles.<
><
> {{attachment:grid.jpg}} 1. Alternatively, if you already have your grid of sources, you can import it directly from a file or from a Matlab variable 1. Leave all the intial options, and click on Ok. A new head model is available in the condition Right:<
> {{attachment:treeHeadmodel.gif}} == Compute sources for this grid == 1. Make sure your new volume head model is selected (displayed in green). 1. Right-click on Subject01 / Right / ERF > Compute sources. Select '''Expert mode'''. Leave all the default options. Run.<
><
> {{attachment:wmne.gif}} {{attachment:wmneOptions.gif}} 1. Note that only the "Unconstrained" source orientation is available. In the previous tutorials, the source space was the cortical surface, and we were able to use the normals to this this surface to constrain the model. For a random grid of points, we cannot privilege one orientation more than another. 1. Click on Ok. A new source file appears in the database.<
><
> {{attachment:treeSource.gif}} 1. The only visualization modes available for this file are MRI views (3D orthogonal slices, or MRI Viewer).<
><
> {{attachment:mri3d.gif||height="244px",width="240px"}} {{attachment:mriViewer.gif||height="303px",width="320px"}} == Feedback == <>