Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use better defaults for n_interpolates #245

Open
jasmainak opened this issue Nov 16, 2021 · 1 comment
Open

use better defaults for n_interpolates #245

jasmainak opened this issue Nov 16, 2021 · 1 comment

Comments

@jasmainak
Copy link
Member

The current default of n_interpolates=np.array([1, 4, 32]) seems to fail for EEG with smaller channels e.g., 32 or 20. It sometimes finds all channels as bad and tries to interpolate. Found this issue while debugging a recent user problem.

I think a better default would depend on the number of channels. E.g., n_interpolates = np.arange(1, n_channels // 2, n_channels // 8) or something along these lines. Thoughts @agramfort ?

@agramfort
Copy link
Collaborator

agramfort commented Nov 16, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants