Back to the main page.

Bug 554 - ft_sourceanalysis (method:mne)

Reported 2011-03-30 11:20:00 +0200
Modified 2011-04-20 14:00:45 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P1 normal
Assigned to: Jan-Mathijs Schoffelen
Depends on:
See also:

Lilla Magyari - 2011-03-30 11:20:53 +0200

Hi, I get an error when I try to run ft_sourceanalysis. cfg=[]; cfg.method = 'mne'; cfg.grid = leadfield; cfg.vol = vol; cfg.lambda = 1e8; source=ft_sourceanalysis(cfg,avg); avg contains avg.cov field with the noise-covariance matrix for the error message please check roboos/data/lilmag/4Lilla/mne from line 448. thanks. Lilla

Jan-Mathijs Schoffelen - 2011-03-31 09:02:28 +0200

I suspect that if you specify cfg.mne.lambda, rather than cfg.lambda it should work. There is some issue as to how fieldtrip handles the cfg-options to hand it on to the next lower-level function.

Jan-Mathijs Schoffelen - 2011-04-06 14:40:05 +0200

I adjusted ft_checkconfig, this should make cfg.lambda to work now