%matplotlib widget from tvb.simulator.plot.head_plotter_3d import HeadPlotter3D
Candidate for new tutorial on visualizing all elements of the data set
To be sure of the accuracy of forward solution for M/EEG, it is important to verify the geometry of the sources and sensors, as well as the boundaries. Here, we plot these elements of the forward solution for TVB's default dataset.
First, we load the data
hp = HeadPlotter3D()
then, plot the different elements
WARNING File 'hemispheres' not found in ZIP.
More visualizations to come:
volume data -> MRI acquisition -> Registration -> Coordinates transform to MNI space | -- voxel-based gray matter parcellation (obtain parcellation mask) -> AAL/anatomical template
surfaces data (cortical, skull, skin surfaces extraction) -> FSL/BET
connectivity data (white matter weights, tract-lengths) -> Diffusion Toolkit + TrackVis
region mapping between parcellation and number of vertices in the cortical surface.
lead-field matrices (ie, projection matrices) mapping nodes onto EEG/MEG space