I suspect the error is coming from the fact that my resting-state datasets only have 1 trial/epoch while this seems to be problematic when computing 'psd'. Indeed, the error disappears when using 'fft' instead but another one comes up: Code to reproduce the error [STUDY ALLEEG] = pop_...