Help with dipolesimulation

Stanley Klein sklein at BERKELEY.EDU
Sun Apr 19 19:46:50 CEST 2009


 Luis,
Phase doesn't make much sense if frequencies are different.
In your simulation are you doing stimulation with two frequencies (SSVEP)?
If so then you can do the simulation with two dipoles each with two
frequencies. If you aren't doing stimulation then I'd think you'd just want
to choose one frequency (say with an octave banwidth) for doing your source
localization.

Does Fieldtrip have good tools for doing that sort of localization?
Stan

On Sun, Apr 19, 2009 at 10:22 AM, Luis Morán <lmoranr at gmail.com> wrote:

> But that doesn't solve my problem.  I've completed the simulation with 2
> dipoles but using the same frequencies and phases. What I need is use a
> different frequency in each dipole
>
> As I understand the dipolesimulation function at 'cfg.frequency' we can
> specify only a value
>
> Any other advice?
>
> Thanks a lot in advance
>
>
> 2009/4/19 jan-mathijs schoffelen <j.schoffelen at psy.gla.ac.uk>
>
>  Dear Luis,
>>
>> I guess that the desired functionality is already there, the only thing
>> which you have to do is specifying your input configuration meaningfully.
>> The most relevant line is line 215, which states (more or less) trial = lf
>> * dipmom * dipsignal;
>>
>> lf contains the leadfield (forward model) for the dipoles at the positions
>> in cfg.dip.pos, and has dimensionality Nchan x (Ndipolex3), so it is a
>> concatenation (in the columns) of the single position's leadfields.
>> dipsignal is an NdipolexNtime matrix containing the dipoles' time series.
>> For the matrix product to work, dipmom should be of dimensionaity
>> (Ndipolex3)xNdipole (right?). This is the key to the solution to your
>> problem:
>>
>> cfg.dip.mom should be something like  [orix1 0;oriy1 0; oriz1 0;0 orix2;0
>> oriy2;0 oriz2], with ori(xyz)(1/2) specifying the moments of your dipoles.
>>
>> I hope this helps,
>>
>> Jan-Mathijs
>>
>>
>>
>> On Apr 18, 2009, at 12:20 PM, Luis Morán wrote:
>>
>>   Hi dear Fieldtrippers!!
>>>
>>> I'm trying to make a dipolesimulation with two dipoles. I need to use
>>> different frequencies and phases for each dipole and I don't know very well
>>> how to modify the dipolesimulation function.
>>>
>>> Any advice?
>>>
>>> Thanks in advance
>>>
>>> Best regards
>>> --
>>> Luis Morán Rodríguez
>>>
>>> Bioengineering Group
>>> Universidad Politecnica Madrid
>>> ----------------------------------
>>>
>>> The aim of this list is to facilitate the discussion between users of the
>>> FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and
>>> EEG analysis.
>>>
>>> http://listserv.surfnet.nl/archives/fieldtrip.html
>>>
>>> http://www.ru.nl/fcdonders/fieldtrip/
>>>
>>>
>> ----------------------------------
>> The aim of this list is to facilitate the discussion between users of the
>> FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG
>> and EEG analysis. See also
>> http://listserv.surfnet.nl/archives/fieldtrip.html and
>> http://www.ru.nl/neuroimaging/fieldtrip.
>>
>
>
>
> --
> Luis Morán Rodríguez
>
> Altentic
>
> lmoran at altentic.com
>
> ----------------------------------
>
> The aim of this list is to facilitate the discussion between users of the
> FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and
> EEG analysis.
>
> http://listserv.surfnet.nl/archives/fieldtrip.html
>
> http://www.ru.nl/fcdonders/fieldtrip/
>

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20090419/d66ee7c5/attachment-0002.html>


More information about the fieldtrip mailing list