[Mne_analysis] load digitization electrodes

Edoardo Pinzuti edoardo.pinzuti at gmail.com
Mon Feb 12 08:50:06 EST 2018
Search archives:

Dear everyone,

I have a problem in loading the digitization of electrode in the epochs
objects.

I created the epochs
info = create_info(chan_names, sfreq, chan_types )
epochs = EpochsArray(data, info, events=None, tmin=np.min(time),
verbose=False)

digitization = read_dig_montage(hsp=positions.copy(), elp=positions.copy(),
point_names=labels, unit='mm')
epochs.set_montage(digitization)
epochs.plot_sensors()

when I tried to plot:
I got this error: RuntimeError: Did not find any digitization points of
kind FIFFV_POINT_EEG (3) in the info.

How I can solve this?

Thanks a lot

Edoardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180212/aa840a0f/attachment.html 


More information about the Mne_analysis mailing list