[FieldTrip] Cfg.latency in ft_sourceplot not working?

Britta Westner britta.wstnr at gmail.com
Fri Feb 4 09:49:58 CET 2022


Dear Emilie,

note that you are plotting power. This is computed during ft_sourceanalysis
based on your covariance matrix, so it represents the latencies you
computed your covariance matrix on. The time axis in your source is
referring to the field ".mom", which contains time series. Changing the
latency has no effect on plotting the power, it has no time axis anymore.

Hope this helps,
Britta

On Fri, Feb 4, 2022 at 9:08 AM Emilie Caspar via fieldtrip <
fieldtrip at science.ru.nl> wrote:

> Dear Stephen,
>
> Yes this is what I indicated, the data contains a .time structure, which
> range from -.2 to 1.2 ms.
>
> Best,
>
> Emilie
>
>
> ---------------------------------------------
> *Emilie CASPAR*
>
> *Associate Professor *
>
> Department of Experimental Psychology, Ghent University
> office: Henri Dunantlaan, 2 - Floor 2, Room 94
>
> lab’s website: https://moralsocialbrain.com/
> personal website: https://emiliecaspar.home.blog/
>
> Université libre de Bruxelles (office & contact): DB10.138 / +32 2 650 32
> 95
>
> Le 4 févr. 2022 à 07:54, Stephen Whitmarsh <stephen.whitmarsh at gmail.com>
> a écrit :
>
> Hi Emilie,
>
> I would first check if the data structure has a time dimension to begin
> with.
>
> Best,
> Stephen
>
> On Thu, 3 Feb 2022 at 19:44, Emilie Caspar via fieldtrip <
> fieldtrip at science.ru.nl> wrote:
>
>> Dear fieldrippers,
>>
>> I am using ft_sourceplot to plot the results of my interpolated data. The
>> data contains a .time, which range from -.2 to 1.2 ms
>>
>> I would like to plot only some specific segments, such as .3 to .8.
>> However, whatever I indicate in the cfg.latency, the plots do not change at
>> all (see two pictures attached), probably suggesting that the cfg.latency
>> is somehow not taken into account.
>>
>> cfg               = [];
>> cfg.method         = 'ortho';
>> cfg.atlas = atlas;
>> cfg.funparameter  = 'pow';
>> cfg.inputcoord = 'mni';
>> cfg.maskparameter = cfg.funparameter;
>> cfg.funcolormap = 'jet';
>> % cfg.projmethod     = 'nearest';
>> cfg.funcolorlim    = [0 0.2];
>> cfg.opacitylim    = [0.1 0.2];
>> %  cfg.opacitymap    = 'rampup';
>> cfg.latency       = [0.3 0.8];
>> cfg.avgovertime   = 'yes';
>> ft_sourceplot(cfg,sourceIntpl_Victim);
>>
>> Would someone have an idea about the problem?
>>
>> Thank you in advance!
>>
>> Emilie
>>
>> <-200to0.png><300to800.png>
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=04%7C01%7Cemilie.caspar%40ulb.be%7Cda9f5725a60c421a67f608d9e7ab3eb8%7C30a5145e75bd4212bb028ff9c0ea4ae9%7C0%7C0%7C637795546059617740%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0&sdata=jsJF0f3ewg2xJqKUfJe6ldo2%2B9ea3wG7t5a%2FOB9Sjhs%3D&reserved=0>
>> https://doi.org/10.1371/journal.pcbi.1002202
>> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=04%7C01%7Cemilie.caspar%40ulb.be%7Cda9f5725a60c421a67f608d9e7ab3eb8%7C30a5145e75bd4212bb028ff9c0ea4ae9%7C0%7C0%7C637795546059617740%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0&sdata=ZrAX%2FBZp%2BOhBfv6lM5yrCsYMHIyVXYi5F8SZPK%2Bz0WY%3D&reserved=0>
>>
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220204/64f94d8c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d’écran 2022-02-04 à 09.06.59.png
Type: image/png
Size: 72850 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220204/64f94d8c/attachment-0001.png>


More information about the fieldtrip mailing list