[FieldTrip] Calculating PAC meets question about narrow band filtering

赫雨欣 hyxer1998 at 163.com
Mon Jun 27 08:08:47 CEST 2022


Hello fieldtripers: 
When I calculated Phase – Amplitude – Coupling, I chose 3-8Hz as phase frequency. And codes for filtering are:
        cfg = [];
        cfg.showcallinfo = 'no';
        cfg.bpfilter = 'yes';
        cfg.bpfreq = [phase_freq-1 phase_freq+1]; 
        cfg.hilbert = 'angle';
        [virtsens_phase] = ft_preprocessing(cfg, virtsens_p);

But, there is an error:
 ‘Calculated filter coefficients have poles on or outside the unit circle and will not be stable. Try a higher cutoff frequency or a
 different type/order of filter.’
 
I don’t know how to change my codes. I’m very appreciate that if anybody can help me here.

Best regards,
Emily
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220627/bc30233e/attachment.htm>


More information about the fieldtrip mailing list