I hope life is good. We are working on a project in which we would like to load and display functional MRI data together with dipoles and distributed MEG/EEG source localization findings (i.e. dSPM). The fMRI data are in a nifti format and co-registered with the anatomical MRI. We are able to load both the MRI and fMRI in brainstorm as MRI scans and we have them perfectly co-registered in Brianstorm. Is there any way this second MRI scan (that serves the role of the fMRI data) to be overlaid with the dipoles, the anatomical MRI, and the source dSPM solutions. Or at least, can we overlay the dipoles, the anatomical MRI, and the fMRI data in the same display?
I added only for the display of SEEG the menus for all the MRI volumes of the subject, not for the display of the dipoles or the source maps.
If you want fMRI+dipoles, or fMRI+MEG/EEG source maps, you can maybe set the fMRI volume as the default volume for display (right-click on it > Set as default MRI). I’m not entirely sure how this behaves for maintaining the registration with the original space (initial voxel=>world transformation in the original .nii file), but this maybe not relevant to you, if everything is in Brainstorm and you don’t want to export your volumes back to some other software.
Otherwise, you should be able to display more or less what you want by using directly the display functions from the matlab command line or frmo a script: view_mri.m, view_mri_3d.m, view_surface_data.m, view_dipoles.m. Read directly the header of the functions for help.
For view_dipoles, read the entire code of the function, as you will probably need to use a lower-level call, for example: panel_dipoles(‘AddDipoles’, hFig, DipolesFile, 1);
Let me know if there are some combinations you don’t manage to deal with, I may have other tricks to give you.