compute_source_psd

Dear MNE users,

I'm trying to use compute_source_psd but I got the following error

inverse_operator = make_inverse_operator(raw.info, fwd, noise_cov,
                                           loose=None, depth=None,
                                           fixed=False)

stc = compute_source_psd(raw, inverse_operator, lambda2=lambda2,
                           method=inv_method, fmin=8, fmax=12,
                           pick_ori=None, n_fft=2048)

ValueError: Number of vertices (8190) and stc.shape[0] (24570) must match

what is wrong?
thks!
best
Annalisa

hi Annalisa,

please open an issue on github with a code snippet to replicate.

thanks for the bug report

Alex

Hi Alex,

ok!

I used the data sample and I got another error message
I'll open an issue with the code.

When you have time could u check the email
about the coregistration gui?

thanks a lot!

Annalisa

Alexandre Gramfort <alexandre.gramfort at telecom-paristech.fr> ha scritto: