[FieldTrip] Cfg.latency in ft_sourceplot not working?

Stephen Whitmarsh stephen.whitmarsh at gmail.com
Fri Feb 4 07:54:38 CET 2022


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
>
>
> _______________________________________________
> 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/3410e315/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: -200to0.png
Type: image/png
Size: 258022 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220204/3410e315/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 300to800.png
Type: image/png
Size: 261035 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220204/3410e315/attachment-0003.png>


More information about the fieldtrip mailing list