You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
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 ?The text was updated successfully, but these errors were encountered: