Hello everybody,
I am working on source-based EEG connectivity, and when I use the .annot file of the Schaefer 2018 100-parcel atlas, I noticed that there is a difference between the order of the labels in .annot (or my code) and the original label ordering.
While mine started with ‘7Networks_LH_Cont_Cing_1-lh’ and the original order started with ‘7Networks_LH_Vis_1’.
Is there anybody having a similar issue or any idea ?
Thanks,
Pouya
Here is my code:
fsaverage_dir = fetch_fsaverage()
sub_dir = Path(fsaverage_dir).parent
os.environ['SUBJECTS_DIR'] = str(sub_dir)
# Atlas selection
atlas_name = 'Schaefer2018_100Parcels_7Networks_order'
labels = mne.read_labels_from_annot('fsaverage',
parc=atlas_name,
hemi= 'both',
subjects_dir=sub_dir
)
# Exclude the Medial Wall
labels = [label for label in labels if 'Medial_Wall' not in label.name]