[FieldTrip] problem using superlet for time frequency analysis

Schoffelen, J.M. (Jan Mathijs) janmathijs.schoffelen at donders.ru.nl
Mon Apr 4 13:27:34 CEST 2022

Hi Philip,

I have never tried the superlets myself, but I think that you are correct in concluding that the ’superlet’ approach needs a foi (and not a foilim). This means that there’s an inconsistency in the documentation of the function.

Feel free to suggest a change in the function’s docstring through a PR.

Best wishes,

On 1 Apr 2022, at 18:44, philip Joadavi via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:

Dear fieldtrip community,

I would like to use 'superlet' method defined in ft_freqanalysis.

However, I'm getting an error for 'foi' parameter.
In the description, it says that I can use frequency band of interest (foilim) instead of frequency of interest (foi), however, if I look at the implementation, it is only implemented for using 'foi'. (is that correct?)

here is how I defined my parameters:
cfg.channel               = 'EEG'
cfg.output                  = 'pow'
cfg.pad'                     = 'nextpow2'
cfg.method                = 'superlet'
cfg.foilim                    = [3 90]
cfg.avgoverfreq         = 'no'
cfg.keepcycles          = 'no'
cfg.keeptrials             = 'yes'
cfg.superlet.order      = 10;
cfg.superlet.combine = 'additive';

Could you please help me with using this approach and if I can use 'foilim' as an option for my analysis using 'superlet' method?


fieldtrip mailing list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220404/0572574a/attachment.htm>

More information about the fieldtrip mailing list