[Mne_analysis] load digitization electrodes

Edoardo Pinzuti edoardo.pinzuti at gmail.com
Tue Feb 13 04:40:14 EST 2018
Search archives:

Dear Marijn

thanks. Did not help. If I print digitization I see channels 0.   Should
the dig montage look different?

<DigMontage | 57 extras (headshape), 54 HPIs, 3 fiducials, 0 channels>

2018-02-12 23:27 GMT+01:00 Marijn van Vliet <w.m.vanvliet at gmail.com>:

> Hi Edoardo,
>
> try: epochs.set_montage(digitization, set_dig=True)
>
> best,
> Marijn.
>
> > 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')
> > 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
> > _______________________________________________
> > Mne_analysis mailing list
> > Mne_analysis at nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
> >
> >
> > 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.
>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> 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 --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180213/7581ac70/attachment.html 


More information about the Mne_analysis mailing list