[Mne_analysis] load digitization electrodes
Marijn van Vliet
w.m.vanvliet at gmail.com
Mon Feb 12 17:27:20 EST 2018
try: epochs.set_montage(digitization, set_dig=True)
> On 13 Feb 2018, at 00:50, Edoardo Pinzuti <edoardo.pinzuti at gmail.com> wrote:
> 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')
> 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
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in error
> but does not contain patient information, please contact the sender and properly
> dispose of the e-mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1386 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180213/eef88cb5/attachment.bin
More information about the Mne_analysis