Skip to content

Analysis code for Bonaiuto, et al "Estimates of cortical column orientation improve MEG source inversion"

Notifications You must be signed in to change notification settings

danclab/dipole_orientation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

MEG dipole orientations

Simulation and analysis code for estimating cortical column orientations to constrain dipole orientations in MEG source inversion.

JJ Bonaiuto, F Afdideh, M Ferez, K Wagstyl, J Mattout, M Bonnefond, GR Barnes, S Bestmann
Estimates of cortical column orientation improve MEG source inversion
NeuroImage 2020, https://www.sciencedirect.com/science/article/pii/S1053811920303487?via%3Dihub
(bioRxiv link: https://www.biorxiv.org/content/10.1101/810267v1)

Requirements:

For variational vector field:

  • nibabel
  • freesurfer - dev version

Usage

normals=compute_surface_normals(subjects_dir, subj_id, surface, method)

where surface is 'pial', 'white', or 'white-pial' (combined surface), and method is 'ds_surf_norm', 'orig_surf_norm', 'link_vector', or 'variational'.

Then set the 'normals' attribute of the gifti surface you want to use for inversion using the result. spm_eeg_lgainmat.m will use this attribute if it exists, rather than computing surface normals. If it does not exist, normals will be computed as usual using spm_mesh_normals.m

About

Analysis code for Bonaiuto, et al "Estimates of cortical column orientation improve MEG source inversion"

Resources

Stars

Watchers

Forks

Packages

No packages published