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 problem starts in clean_data_with_zapline_plus.m (323). find_next_noisefreq finds no noisefreq, which results in length(noisefreqs) being 0. Consequently, the while loop is never entered and data not cleaned. Finally, cfg.f_noise = f_noise; throws an error, because f_noise is not defined (its defined only within the while loop).
Best,
Dawid
The text was updated successfully, but these errors were encountered:
If find_next_noisefreqs does not find noisefreqs, but you think there is something that should be removed, you can either specify that noisefreq manually or you can lower the detector threshold so it is more sensitive. But yeah, if it does not have one, then it also cannot give you a frequency, of course. zaplineConfig.noisefreqs will then be [], so you may be able to assign that nonetheless to your results, depending on how you store it.
Hi,
The problem starts in
clean_data_with_zapline_plus.m
(323).find_next_noisefreq
finds nonoisefreq
, which results inlength(noisefreqs)
being 0. Consequently, thewhile
loop is never entered and data not cleaned. Finally,cfg.f_noise = f_noise;
throws an error, becausef_noise
is not defined (its defined only within thewhile
loop).Best,
Dawid
The text was updated successfully, but these errors were encountered: