[FieldTrip] Resampling error + General question on resampling vs single precision

Schoffelen, J.M. (Jan Mathijs) janmathijs.schoffelen at donders.ru.nl
Mon Feb 6 16:03:43 CET 2023


Hi Yasir,

for starters, there’s a typoin your cfg: cfg.resamplerefs should read cfg.resamplefs

Best wishes,
Jan-Mathijs


On 6 Feb 2023, at 15:22, Yasir Çatal via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:

Thanks for the answer about resampling vs single precision Jan.

The motivation for using ft_resampledata is not clear to me, neither is it clear how you actually called the function (cfg details etc).

 The only motivation is memory constraints. cfg is like this:

cfg = [];
cfg.resamplerefs = 250; (or other values that I tried that didn't work.).

I tried breakpoints but the error happens at the level of internal MATLAB functions so that didn't get me anywhere.

Thanks and kind regards,
Yasir
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!_W_2p-lRmWvzwlXOfQ4R_CEYQs4VZp7iXUQrOgUDHQyXnbQYeYzsh1dI69h8S8bFHERP6fm9dNAcX4G2YCUuHBRtauVgrnvrCv-p8A$

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20230206/710b4436/attachment.htm>


More information about the fieldtrip mailing list