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

error in zapline function from EEGLAB list #23

Open
arnodelorme opened this issue Oct 31, 2023 · 2 comments
Open

error in zapline function from EEGLAB list #23

arnodelorme opened this issue Oct 31, 2023 · 2 comments

Comments

@arnodelorme
Copy link
Contributor

Description
[Description of the bug or feature
Attach a link to Dropbox or Google Drive with screenshots and your data if possible.]
Hi,
I'm trying to use zapline plugin to remove linenoise in my dataset with a default one line for running it: EEG = clean_data_with_zapline_plus_eeglab_wrapper(EEG,struct('noisefreqs','line')) % specifying the config is optional

Steps to Reproduce

I typed
EEG = clean_data_with_zapline_plus_eeglab_wrapper(EEG,struct('noisefreqs','line')) % specifying the config is optional,
following the line (this is what GUI produced as well).
Then I got an error in the command window.

Expected behavior: I was expecting that zapline function would work properly.

Actual behavior: This is the error message I got from this:

Undefined function 'bandpass' for input
arguments of type 'single'.
Error in clean_data_with_zapline_plus
(line 356)
data_narrowfilt =
bandpass(data,[noisefreq-detectionWinsize/2
noisefreq+detectionWinsize/2],srate);
Error in
clean_data_with_zapline_plus_eeglab_wrapper
(line 25)
[EEG.data, EEG.etc.zapline.config,
EEG.etc.zapline.analyticsResults,
plothandles] =
clean_data_with_zapline_plus(EEG.data,
EEG.srate, zaplineConfig);

@arnodelorme
Copy link
Contributor Author

sccn/eeglab#698

@MariusKlug
Copy link
Owner

Thanks for informing! I believe this is an issue of a missing toolbox for signal processing, or a too old matlab version.

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