[Mne_analysis] compute_source_psd_epochs 'noisenorm' error

Alexandre Gramfort alexandre.gramfort at inria.fr
Wed Sep 19 08:51:12 EDT 2018
Search archives:

        External Email - Use Caution        

ok so please open an issue here http://github.com/mne-tools/mne-python/issues
and provide a full script to replicate the pb using the sample dataset.

thanks
Alex

On Wed, Sep 19, 2018 at 2:42 PM Rockhill, Alexander P.
<AROCKHILL at mgh.harvard.edu> wrote:
>
> Hi Alex,
>
>    I just pulled the most recent development version of MNE and the error is still occurring. I was originally using python 2.7 but took this impetus to move to python 3.6.5. The MNE version is listed at 0.16.2. Neither python version or the latest pull worked unfortunately, and I am still getting the same error.
>
> Thanks,
>
> Alex
>
> Translational NeuroEngineering Laboratory
> Division of Neurotherapeutics, Department of Psychiatry
> Massachusetts General Hospital, Martinos Center
> 149 13th St Charlestown #2301, Boston, MA 02129
>
> ________________________________________
> From: mne_analysis-bounces at nmr.mgh.harvard.edu [mne_analysis-bounces at nmr.mgh.harvard.edu] on behalf of Alexandre Gramfort [alexandre.gramfort at inria.fr]
> Sent: Wednesday, September 19, 2018 5:31 AM
> To: Discussion and support forum for the users of MNE Software
> Subject: Re: [Mne_analysis] compute_source_psd_epochs 'noisenorm' error
>
>         External Email - Use Caution
>
> HI Alex,
>
> can you check if this error is still present with current master branch?
>
> do you only see it when using "MNE" method?
>
> Alex
>
> On Tue, Sep 18, 2018 at 11:30 PM Rockhill, Alexander P.
> <AROCKHILL at mgh.harvard.edu> wrote:
> >
> > Hi all,
> >
> >    When running compute_psd_epochs I get the following error:
> >
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in <module>
> >   File "/autofs/space/karima_001/users/alex/software/anaconda2/lib/python2.7/site-packages/mne/minimum_norm/time_frequency.py", line 536, in _compute_source_psd_epochs
> >     prepared=prepared, method_params=method_params, verbose=verbose)
> >   File "/autofs/space/karima_001/users/alex/software/anaconda2/lib/python2.7/site-packages/mne/minimum_norm/time_frequency.py", line 46, in _prepare_source_params
> >     K, noise_norm, vertno, _ = _assemble_kernel(inv, label, method, pick_ori)
> >   File "<string>", line 2, in _assemble_kernel
> >   File "/autofs/space/karima_001/users/alex/software/anaconda2/lib/python2.7/site-packages/mne/utils.py", line 729, in verbose
> >     return function(*args, **kwargs)
> >   File "/autofs/space/karima_001/users/alex/software/anaconda2/lib/python2.7/site-packages/mne/minimum_norm/inverse.py", line 679, in _assemble_kernel
> >     noise_norm = inv['noisenorm'][:, None]
> > KeyError: 'noisenorm'
> >
> > My inverse worked to generate the stc so I'm not sure what is going on. Any help would be appreciated.
> >
> > Thanks,
> >
> > Alex
> >
> > Translational NeuroEngineering Laboratory
> > Division of Neurotherapeutics, Department of Psychiatry
> > Massachusetts General Hospital, Martinos Center
> > 149 13th St Charlestown #2301, Boston, MA 02129
> > _______________________________________________
> > 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
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis



More information about the Mne_analysis mailing list