<div dir="ltr"><div>Dear all,</div><div>I am trying to run a source localization analysis of eeg oscillatory activity. My data was recorded by a BrainAmp, and I exported using the brainvision analyzer.</div><div><br></div>
<div>Since I am very new to fieldtrip, I have a (probably very basic) doubt, and would be really glad if someone could help me.</div><div><br></div><div>First, when creating the leadfield, it asks for the gradiometer (cfg.grad), but I didnt figure out where I can find it. I checked the "localizing oscillatory sources using beamformer techniques" tutorial, and it seems that it can be recovered as an output of the "ft_freqanalysis" (since there is a "cfg.grad = freqPost.grad" definition), but I didnt manage to have it, even running the same parameters as in the tutorial.</div>
<div><br></div><div>Here is how I am doing the oscillatory analysis.</div><div>cfg = [];</div><div>cfg.method = 'wavelet';</div><div>cfg.width = 2;</div><div>cfg.output = 'pow';</div><div>cfg.foi = 2:2:20;</div>
<div>cfg.toi = -0.5:0.05:1;</div><div>TFR = ft_freqanalysis(cfg, dataEEGmax);</div><div><br></div><div>Thanks a lot in advance,</div><div>Best regards,</div><div>Ricardo</div><div><br></div></div>