# How to swap the label of the left brain to the right brain

**URL:** <https://mne.discourse.group/t/how-to-swap-the-label-of-the-left-brain-to-the-right-brain/2868>\
**Category:** Support & Discussions\
**Tags:** eeg\
**Created:** [March 22, 2021, 6:39am UTC](https://mne.discourse.group/t/how-to-swap-the-label-of-the-left-brain-to-the-right-brain/2868 "2021-03-22T06:39:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xiaofang](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/xiaofang/32/265_2.png) [@Xiaofang](https://mne.discourse.group/u/Xiaofang)\
**Post date:** [March 22, 2021, 6:39am UTC](https://mne.discourse.group/t/how-to-swap-the-label-of-the-left-brain-to-the-right-brain/2868/1 "2021-03-22T06:39:30Z")

</div>

I used the mne.grow\_labels() function to generate seven labels on the left brain, with hemis set to 0. When I set hemis to 1, the generated right brain label is completely asymmetric from the previous one. Does anyone know the reason for this?

 ![left](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/77906a268553ac72acf403d19a6c5b5f71b11a47.png) ![right](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/c860efcec6524c22a9893025609b6674bd2032e3.png)

---

<div class="post-metadata">

**Author:** ![agramfort](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@agramfort](https://mne.discourse.group/u/agramfort)\
**Post date:** [March 22, 2021, 6:55am UTC](https://mne.discourse.group/t/how-to-swap-the-label-of-the-left-brain-to-the-right-brain/2868/2 "2021-03-22T06:55:19Z")

</div>

how did you send the centers of the labels?

can you share the code you used?

Alex

---

<div class="post-metadata">

**Author:** ![Xiaofang](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/xiaofang/32/265_2.png) [@Xiaofang](https://mne.discourse.group/u/Xiaofang)\
**Post date:** [March 22, 2021, 1:06pm UTC](https://mne.discourse.group/t/how-to-swap-the-label-of-the-left-brain-to-the-right-brain/2868/3 "2021-03-22T13:06:13Z")

</div>

Thank you very much, the code to generate the label part is as follows：

names = ‘1234567’  
Label = mne.grow\_labels(subject=‘fsaverage’, seeds=[1000,2000,3000,4000,5000,6000,7000], extents=10.0, hemis=1,subjects\_dir=None,names=[i for i in names],surface=‘white’, colors=None)

color = [‘b’,‘g’,‘r’,‘c’,‘m’,‘y’,‘k’,‘b’]  
for i in range(7):  
brain.add\_label(Label[i],color=color[i])

---

<div class="post-metadata">

**Author:** ![agramfort](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@agramfort](https://mne.discourse.group/u/agramfort)\
**Post date:** [March 22, 2021, 3:57pm UTC](https://mne.discourse.group/t/how-to-swap-the-label-of-the-left-brain-to-the-right-brain/2868/4 "2021-03-22T15:57:11Z")

</div>

the seeds are not comparable across hemispheres

it’s why it does not work.

Alex
