[Mne_analysis] mne.create_info: Differences in info[ 'dig'] and info['chs']

Gladia Hotan gladiach at gmail.com
Tue Sep 18 14:46:45 EDT 2018
Search archives:

        External Email - Use Caution        

Hi,

I'm experimenting with creating info for a built-in montage:

montage = mne.channels.read_montage(kind='biosemi128')
fake_info = mne.create_info(ch_names=montage.ch_names, sfreq=250,
ch_types='eeg', montage=montage)

However, in the created info object, there are some differences between
info['chs'] and info['dig']:

   - There are 3 more channels in 'dig' than in 'chs'
   - The channel kinds are different in 'dig' than in 'chs'. For 'dig', the
   first 3 channels have kind '1' and the rest have kind '3'. For 'chs', the
   channels all have kind '2', and are identified as EEG channels by
   mne.io.pick.channel_type.
   - The coordinates in info['dig'][ind]['r'] don't match the coordinates
   in info['chs'][ind]['loc'][0:3].

Could someone explain why the channels kinds and locations don't match in
'chs' and 'dig'?

Thanks and Best,
Gladia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180918/b46f6a97/attachment-0001.html 


More information about the Mne_analysis mailing list