I am currently working on the BraTS dataset with different MRI sequences (T1, T2, FLAIR, T1CE) saved as separate *.nii.gz files. I am trying to write a script that can load all sequences under a subject so that the segmentation can be seen in all sequences. It is also possible that there is a better way to do this.
I found how to load a single sequence using
But I’d like to create a parent subject that contains all segmentations (programmatically).
Thanks a lot for your help!