# Channel locations from a .mat file

**URL:** <https://mne.discourse.group/t/channel-locations-from-a-mat-file/6904>\
**Category:** Support & Discussions\
**Created:** [May 17, 2023, 1:16am UTC](https://mne.discourse.group/t/channel-locations-from-a-mat-file/6904 "2023-05-17T01:16:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![AnnaFa](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/annafa/32/2648_2.png) [@AnnaFa](https://mne.discourse.group/u/AnnaFa)\
**Post date:** [May 17, 2023, 11:55pm UTC](https://mne.discourse.group/t/channel-locations-from-a-mat-file/6904/5 "2023-05-17T23:55:39Z")

</div>

![montage2](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/2/2a00bf8e6b8c7d54db2a297971a592746a4c4953.png)  
Hi all,

thank you for your fast reply! Yes, I found this post [mne.channels.read\_custom\_montage('128+8locs.xyz'): ValueError: could not convert string to float: - #15 by richard](https://mne.discourse.group/t/mne-channels-read-custom-montage-128-8locs-xyz-valueerror-could-not-convert-string-to-float/4968/15) and figured it has to do something with the scaling.

I tried the division by 1000 and it resulted in a still slightly off montage (see attached)

My montage file also contains columns with radius, do you think I should use that in any way?

Thank you  
Anna

---

_[View the full topic](https://mne.discourse.group/t/channel-locations-from-a-mat-file/6904)._
