Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tutorial nirstorm] add script to replicate nirstorm article #238

Merged
merged 13 commits into from
Aug 28, 2024

Conversation

Edouard2laire
Copy link
Collaborator

@Edouard2laire Edouard2laire commented Jul 18, 2024

@Edouard2laire
Copy link
Collaborator Author

Edouard2laire commented Jul 23, 2024

@rcassani is there a way to do

% Import tissue segmentation
tissues =  mri_getlabels('tissues5');
tissues(6) = {1}; tissues(5) = {2}; tissues(4) = {3}; tissues(3) = {4}; tissues(2) = {5};  
import_mri(iSubject, TissueSegmentationFile, '', 0, 0, 'segmentation_5tissues',tissues);

from the GUI in brainstorm?

Edit: Found, just had to have the following csv near the nii file.
segmentation_5tissues.csv

@rcassani
Copy link

Edit: Found, just had to have the following csv near the nii file.

And of for the scripting, just omit the issues argument to use the .csv file

@Edouard2laire Edouard2laire marked this pull request as ready for review August 28, 2024 19:43
@Edouard2laire Edouard2laire merged commit 6840cdd into Nirstorm:master Aug 28, 2024
@Edouard2laire Edouard2laire deleted the tutorial branch August 28, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants