# coil\_type

**URL:** <https://mne.discourse.group/t/coil-type/2218>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [June 11, 2020, 10:32pm UTC](https://mne.discourse.group/t/coil-type/2218 "2020-06-11T22:32:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [June 11, 2020, 10:32pm UTC](https://mne.discourse.group/t/coil-type/2218/1 "2020-06-11T22:32:35Z")

</div>

External Email - Use Caution

Dear MNE team,

I was trying to read epochs data in fieldtrip and I had an issue trying to  
load the sensors. Indeed my info['chs'][i]['coil\_type'] is 201609 , should  
not be this constant for mag ctf system 5002 ?  
Why is it like that?  
thanks  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20200612/69a77209/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200612/69a77209/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [June 12, 2020, 6:52am UTC](https://mne.discourse.group/t/coil-type/2218/2 "2020-06-12T06:52:39Z")

</div>

External Email - Use Caution

hi Edoardo,

maybe. Can you give us more details? maybe share the file?

Alex

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [June 12, 2020, 7:46am UTC](https://mne.discourse.group/t/coil-type/2218/3 "2020-06-12T07:46:54Z")

</div>

External Email - Use Caution

hi Alex,

I found this related issue [https://github.com/mne-tools/mne-bids/issues/128](https://github.com/mne-tools/mne-bids/issues/128) ,  
let me know if this help, in principle I have the same.  
Otherwise I share the file

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [June 12, 2020, 1:53pm UTC](https://mne.discourse.group/t/coil-type/2218/4 "2020-06-12T13:53:07Z")

</div>

External Email - Use Caution

can you share / point to a file?

it's maybe an IO issue for our CTF reading code.

A

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [June 12, 2020, 2:06pm UTC](https://mne.discourse.group/t/coil-type/2218/5 "2020-06-12T14:06:30Z")

</div>

External Email - Use Caution

I think higher order bits get set on the coil type when gradient  
compensation is applied.

Eric

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [June 12, 2020, 3:36pm UTC](https://mne.discourse.group/t/coil-type/2218/6 "2020-06-12T15:36:10Z")

</div>

External Email - Use Caution

See for example one of our testing CTF files (converted to FIF format):

> > > import mne  
> > > raw = mne.io.read\_raw\_fif('test\_ctf\_raw.fif')  
> > > raw.info['chs'][40]['coil\_type']

5001

> > > raw.apply\_gradient\_compensation(3).info['chs'][40]['coil\_type']

201609

Eric
