[Mne_analysis] compute_source_psd_epochs 'noisenorm' error

Alexandre Gramfort alexandre.gramfort at inria.fr
Wed Sep 19 05:31:25 EDT 2018
Search archives:

        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.



More information about the Mne_analysis mailing list